|
Java™ by example!
|
|
|
How do I pause a thread?
Use the method sleep. This will pause the thread for a specified number of milliseconds.
This will pause the thread for 1 second.
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|