I have a Swing application and I want to present a confirmation box to user before the application is closed on windows shutdown and if the user selects cancel, the shutdown process should abort.
I went through couple of discussions in the forum but couldn't get a concrete answer. If anybody has successfully implemented this requirement, please guide me for implementing the same.