Java Delay/Wait

Thread.sleep(1000); // do nothing for 1000 miliseconds (1 second)

Leave a Comment