Can we disable the close button for ImageWindow/StackWindow
Posted by
vidya on
Aug 04, 2011; 4:20am
URL: http://imagej.273.s1.nabble.com/Can-we-disable-the-close-button-for-ImageWindow-StackWindow-tp3683604.html
Dear ImageJ,
I am using ImageJ programatically in my application. I do not want the user to have the option to close the ImagePlus window. Is there any way to set this option programatically, i.e. to disable the 'close' option from the Imagewindow/Stackwindow 'frame'.
If anyone has a solution, please let me know. One other option I could think of is to extend ImageWindow/StackWindow and remove the frame decoration and use my window class in ImagePlus, but not sure if this is the right way and also if this will work smoothly.
Thanks for any help.
Vidya Chin