posted 21 years ago
Hi,
I created a dialog box that extends from JDialog.I want to close the dialog box only when user selects one of the buttons present in the dialog box.I setDefaultCloseOption to DO_NOTHING_ON_CLOSE so that dialog box will not close when X icon (present on the top right corner of any JDialog) is clicked.
Can I disable this X icon, so that the user understands by seeing it that he cant click that button.If yes, how should I do that.
Regards, Sumana