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"