Login  Register

window manager specifics

Posted by Nikos Katsikanis on Mar 07, 2006; 3:00pm
URL: http://imagej.273.s1.nabble.com/window-manager-specifics-tp3703459.html

Say I have 4 image plus objects open. how would I close 3 of them, without
closing the one I want?

To try and do this, I find that if I do the following they all close and
when the want I want to open again pops up, all the pixels are white

 
   ImagePlus keep = WindowManager.getImage(firstImageID);
   ImageProcessor i = keep.getProcessor();
   WindowManager.closeAllWindows();
    new ImagePlus("",i).show();