Login  Register

How to instantiate ImagePlus in an existing window ?

Posted by Andy Gotz on Jan 20, 2006; 6:35am
URL: http://imagej.273.s1.nabble.com/How-to-use-jar-file-in-ImageJ-plugin-tp3703985p3703987.html

Hi,

I would like to use ImageJ in my own application. In order to make the
windowing consistent I would like to have ImagePlus create its windows in
a panel I have created. Currently when I create an ImagePlus object and
call show() on a top level window is created as with ImageJ. But I would
like it to appear in a window I have created. I have not seen a
constructor which takes a JPanel or JFrame as parent. Does such a
constructor exist? Has anyone done anything similar? I know it is not
common but I would like to use ImageJ in my application because of all its
great features.

Thanks for any help or pointers on this one.

Andy Gotz

--
European Synchrotron Radiation Facility
6, rue Jules Horowitz,
Grenoble, 38043
FRANCE