
-----------------------------------
nate
Fri Jan 16, 2004 9:43 am

delay in java
-----------------------------------
How do you do basically a delay in java?

in turing its delay (int)


so how would you draw a circle movinng around in an applet? I can make it move but you can barley see it because it does not delay. 

Thanks

-----------------------------------
BlAcK TuRtLe
Fri Jan 16, 2004 9:56 am


-----------------------------------
just use a garbage delay. Throw in a bunch of calculations into a for structure. For example:

for(int x=1;x