Shutdown hook problem
Hi!
I have a problem with shutdown hook!
If i start my app from cmd(java -jar myjar.jar) the shutdown hook works fine but if i start my app by double clicking the jar file the shutdown hook don't work!
What could be the problem!
I don't like the first way because i get the cmd and i can't hide it!
Thanks in advance!

