Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java swing on close

Runtime.getRuntime().addShutdownHook(new Thread()
{
    @Override
    public void run()
    {
        updateZonas();
        db.close();
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #swing #close
ADD COMMENT
Topic
Name
2+5 =