Re: Two suggestions to ImageJ

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/Two-suggestions-to-ImageJ-tp3701385p3701387.html

Hi,

On Wed, 4 Oct 2006, Yili Zhao wrote:

>   I have two suggestions to ImageJ:
>   1. the show() method in the PlugInFrame skeleton code is deprecated in
> JDK, may ImageJ use setVisible(true) instead?

You do know that ImageJ still compiles on very old JDK versions? And you
do know that what you propose breaks that?

>   2. as sun will open source Java,

I believe that when I have it. (That is, if you have the same
understanding of Open Source as I do, not something like the JRL or
similar "open".)

> in JDK 6.0 the package javax.tools has supplied some interface to
> control javac compiler. Now ImageJ uses tools.jar to access javac
> directly. Maybe ImageJ can add some classes or methods to use the new
> javax.tools.JavaCompiler class and others to compile plugins. More Java
> Compiler API infomation can be found at
> http://download.java.net/jdk6/doc/api/.

I am working on a machine which is not supported by Sun. So, my JDK is
IBMs 1.5 compatible one, and will be for a long time.

I would be _extremely_ unhappy if you just introduced a dependency on
java6 behind my back, making it impossible for me to continue working on
ImageJ.

>   By the way, I have installed JDK 6.0 rc b100, and found that the
> performance has some improved by using ImageJ's benchmark utility :)

Yes, I found that even Sun's Java 5 (where available) boosts performance
substantially.

But please let this be an option, not a dependency.

Ciao,
Dscho