- Java on Mac OS X
In a Swing GUI app I want to distinguish Application Quit from System Shutdown.
On Application Quit I want to show a confirmation dialog, but when the user chooses System Shutdown I simply want to quit the app since there was already a confirmation dialog from the system.
This might be of interest on other platforms too.
Dirk