How do I show the "Application Closing .." message in Swing during the last JFrame?
While I'm looking for the best way to get out of
, I found a very good answer here . Now, what I want to add, since I'm calling in
, the current window gets deleted, but the JVM takes a few seconds to check for other open frames and streams before it exits. I want to show this small amount of time through a dialog that says: The application is closing ...
How can I achieve this?
source to share