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 couldnt get a concrete answer. If anybody has successfully implemented this requirement, please guide me for implementing the same.
Your urgent help is highly appreciated.
Thanks, Vinee