ShutDown method
Is there a method to handle java program shutdowns? I know in applets I can use the stop() method.. How about normal java programs?
no I mean, a way to cleanup resources and what not.. in my example I have a server, and when I shut it down, I want to send a message to all clients first :)