Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java do something after x seconds without stopping everything else

new java.util.Timer().schedule( 
        new java.util.TimerTask() {
            @Override
            public void run() {
                // your code here
            }
        }, 
        5000 
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #seconds #stopping
ADD COMMENT
Topic
Name
8+9 =