i want to execute a particular set of commands when the program exits by pressing the cross on the right hand top corner
-
2Search for "shutdown hook" on stackoverflow. There are several other questions on this topic.Vineet Reynolds– Vineet Reynolds2011-06-05 14:00:17 +00:00Commented Jun 5, 2011 at 14:00
-
here's one example : stackoverflow.com/questions/2921945/…Heisenbug– Heisenbug2011-06-05 14:04:35 +00:00Commented Jun 5, 2011 at 14:04
Add a comment
|