Is there a way to remove the "x" button from a JDialog?
Wednesday, April 25, 2001 07:53 AM
Just treat the button the same way you would treat a "cancel" button in the dialog. That's how most windowing systems handle it.
Re: Is there a way to remove the "x" button from a JDialog?
Friday, April 20, 2001 11:26 AM
Instantiate the JDialog as dialog, then use the following line to disable the X:
Hope this helps!