Signal handling using “TERM”
I have a standalone application in which I have to prompt the user with an confirm dialog box to save the changes made by him when he tries to shutdown the system by start-->shutdown . I came to know that by using signalhandlers we can do it. Can some one help me how to use signal handlers VonC Update May 2012 (2 and half years later) Trejkaz comments: On current versions of Java this signal handling code fails because the " INT " signal is "reserved by the VM or the OS". Additionally, none of the other valid signal names actually fire when something requests the application to close (I just