|
PC shutdown event...?
So I was writing a small app and was wondering what to do if the user presses the power button on their pc whilst the app is still running? I read an article that prevents Standby/Hibernate, but not shutdown...Is it possible to do anything like this in Java?
(Like if I needed to write to a file to save settings and whatnot.)
__________________
Pain is just weakness leaving the body.
|