Jdialog Close Button Action Listener
843806Mar 12 2008 — edited Mar 12 2008Hi All,
Is there any way to write an action listener on the JDialog close button (top right hand corner) just for click i want to set the default action to DO_NOTHING on the close button and then handel the closing of the jDIalog from the action listener.
I need this to introduce user intervention in the jdialog closing state. So i basically want a "Are you sure you want to close |Yes | No|" on |No| the dialog should remain open on |Yes| it should close.
Any help will be greatly appreciated.
Kind Regards
Werns