Einzelnen Beitrag anzeigen
Alt 05.07.2006, 05:02   #10
Who-T
Elite
 
Registriert seit: 01.08.2000
Beiträge: 1.395


Who-T eine Nachricht über ICQ schicken
Standard

Zitat:
Original geschrieben von Jaguar
Thread.currentThread.sleep(1000);
Ein einfaches

Thread.sleep(1000);

reicht auch

From the javadoc:
"Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. The thread does not lose ownership of any monitors"
____________________________________
Whoever built humanity left in a major design flaw: it was the tendency to bend at the knees.
Who-T ist offline   Mit Zitat antworten