PDA

Click to See Complete Forum and Search --> : Time Delay


Dafly
Nov 2nd, 2000, 12:28 AM
I was wondering if it is possiable to make a time delay in java or if their is a command for it?


thanx,
Jeremy

If its as simple as it sounds I guess I am not basic enough

noone
Nov 2nd, 2000, 04:54 PM
Thread.sleep(long delay);

You can find more information here:
http://java.sun.com/products/jdk/1.2/docs/api/java/lang/Thread.html#sleep(long)