View Full Version : Pause in Java
JavaTest?
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?
scroots
01-08-2003, 08:37 PM
i don`t know but i once built a javascript 8ball when i started out, i plan to improve it.
scroots
JavaTest?
01-08-2003, 08:41 PM
Originally posted by scroots
i don`t know but i once built a javascript 8ball when i started out, i plan to improve it.
scroots
Show me yours; I'll show you mine.
scroots
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.
scroots
ahosang
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.
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.