Nikos,
The pixels are white because the closeAllWindows destroys the ImagePlus
contained in each window. I am surprised that it doesn't throw a null pointer
exception (if on macosx, check the Console.app for output).
Instead, find the id of the window you want to keep, and loop through the ids
array (WindowManager.getIDs() ) and call manually a close() on each
ImageWindow except on the one to keep open.
Albert
--
Albert Cardona
Molecular Cell Developmental Biology
University of California Los Angeles
Tel +1 310 2067376
Programming:
http://www.pensament.net/java/Research:
http://www.mcdb.ucla.edu/Research/Hartenstein/Web design:
http://www.pixelets.com