Login  Register

Re: ImageJ Internal Frames

Posted by Grant Harris on Feb 12, 2007; 4:49pm
URL: http://imagej.273.s1.nabble.com/ImageJ-Internal-Frames-tp3700345p3700346.html

Regarding MDI/SDI application design,

A while back Damien Farrell published his effort in a similar direction:
http://homepage.ntlworld.com/jfarrell/imagejmdi/

I found a  very interesting approach that generally address the SDI/MDI
conundrum here:
http://www2.sys-con.com/ITSG/virtualcd/java/archives/0901/brett/index.html
It actually allows you to switch from a JInternalFrame to a JFrame in
the same application!

A good article on mixing of so-called /heavyweight/ and /lightweight/ components is at:
http://java.sun.com/products/jfc/tsc/articles/mixing/

and the article "Understanding Containers":
http://java.sun.com/products/jfc/tsc/articles/containers/index.html

I too build applications that incorporate ImageJ, and the user interface part is problematic because of the AWT / Swing issues.  I've been thinking of ways to bridge this issue in ImageJ, but a good solution isn't clear to me yet.  It would seem that a set of 'wrappers' might work (Chris Rueden has done a couple of these in the LOCI browser).  Another approach might use interfaces; e.g. what if we had an ImageWindow interface that was implemented by ImageWindowAwt and ImageWindowSwing?  

Then there's Mistral (http://mistral.tidalwave.it/), which I think has great promise.

- Grant Harris, MBL