Re: ImageJ Internal Frames
Posted by
dscho on
URL: http://imagej.273.s1.nabble.com/ImageJ-Internal-Frames-tp3700345p3700347.html
On Fri, 9 Feb 2007, James Norman wrote:
> AWT and Swing don't play nice together. I had to change all the AWT
> classes to Swing classes in the ImageCanvas, ContrastAdjuster, Threshold
> Adjuster and so on. All AWT objects that would be displayed in a
> JInternalFrame had to be upgraded. This actually was incredibly easy.
> Pretty much just added a J to everything.
>
> [...]
>
> My question is, would this be useful to incorporate into ImageJ. I
> would like to have an option in ImageJ where you could toggle between
> the two different interfaces (SDI and MDI its called?). It wouldn't be
> difficult to relay a setLocation() method, for instance, to either the
> JFrame or the JInternalFrame depending on the type of interface the user
> selected.
I do not really know how Wayne feels about switching from AWT to Swing,
but personally I feel that it might make sense to have _both_ as possible
backends. A few of my plugins depend on AWT being used...
However, since this came up last time (I was strictly negative about it
then), my opinion about this has changed. Many people seem to prefer Swing
over AWT, so I think it would be nice to have it.
Ciao,
Dscho