I want to capture window close(red X right top position) event. I want to display a specified window upon that window based on the event.
How to capture a close event in java swing
5.5k Views Asked by user1137559 At
2
I want to capture window close(red X right top position) event. I want to display a specified window upon that window based on the event.
Register a
WindowListener
- specifically, use itswindowClosing
method: