Login  Register

Two imagePlus in one window

Posted by Abderahmane Habaieb on Jul 10, 2014; 12:33pm
URL: http://imagej.273.s1.nabble.com/Two-imagePlus-in-one-window-tp5008665.html

Hello all,

I'm currently making a plugin and I need to have two images (which are
hyperstacks) in one window. Each image has to have its scrollbar, and
stuff. In other words, the images share the same window, but are
independant of each other.
I imagined two ways of doing but I don't know if it's possible and how
implement them :

1) Extend the StackWindow class and add one panel for each image.
2) Have a JInternalFrame for each image, but it implies to mix AWT and
Swing...

As alternative, I can, at least, have two StackWindow glued with a
componentListener but the best deal would be to have just a single window.

Thanks,
Abdou

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html