View Single Post
Old Nov 15th, 2006, 8:15 PM   #1
AntiNinja
Hobbyist Programmer
 
AntiNinja's Avatar
 
Join Date: Jun 2006
Location: The States
Posts: 101
Rep Power: 3 AntiNinja is on a distinguished road
Send a message via AIM to AntiNinja Send a message via Yahoo to AntiNinja
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.
AntiNinja is offline   Reply With Quote