Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java program finish event

Runtime.getRuntime().addShutdownHook(new Thread()
{
    @Override
    public void run()
    {
        //do your stuff
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #program #finish #event
ADD COMMENT
Topic
Name
7+5 =