E
emekadavid
I have a window, JFrame, if I turn off setDefaultCloseOperation(),
and register a listener on the window, I want to bring up a JDialog or
Optionpane that gives yes/cancel option if I attempt to close the
window by clicking on the icon at the top left or the X button at top
right.
and register a listener on the window, I want to bring up a JDialog or
Optionpane that gives yes/cancel option if I attempt to close the
window by clicking on the icon at the top left or the X button at top
right.