View Full Version : Pause in Java
01-08-2003, 08:31 PM
I am making an 8-Ball applet and I want to make the 8-Ball pause before it is redrawn in a different location.
How do you make a program pause for a set amount of time before completting the next action in the code?
01-08-2003, 08:37 PM
01-08-2003, 08:41 PM
Originally posted by scroots
Show me yours; I'll show you mine.
01-08-2003, 08:48 PM
mine is terible, people i know thought it was good.
i will revamp it and show it to you tomorrow.
01-10-2003, 03:19 PM
You need to look into threading, and in particular the Thread.sleep() method. This is a standard java class.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.