Hu all !! I've builded a GUI with a warning window that opens before closing without saving ( and other such wdialog windows) , trouble is that I can close the main shell and the dialog window still remains.... I can add a class that will call all the closing methods of all dialog buttons if main shell is closed, but I would prefer to "freez" the main window instead how can I do this? Thanks ranchers !!
posted 11 years ago
Sorry guy (galls) Stupid questio... I just take a refference to the main windows Shell and when opening another dialog window, I set the main shell to enabled ( shell.setEnable(false) ) !!!