Click to See Complete Forum and Search --> : need a Java GURU...Applet question
I am setting up an applet that needs to go through a loop 60 times. This thing is, I want a half second delay inside the loop... so it takes about 30 seconds to go through it 60 times. Do I have to create threads? Or is there a simpler way. I also don't want to tie up cpu cycles while the delay is happening. Please help.
If you don't want to tie up the cpu while in your loop, then YES, use threads.
Happy Holidays!
KrishnaSantosh
Feb 8th, 2001, 01:35 AM
The Best Way Is To Create A Timer Bean. You Can Handle The OnTimer Event And You Can Set The Timer Interval. For Details Please Mail Me at :
santoshkrishna@santoshsmail.com
billrogers
Feb 12th, 2001, 01:24 PM
Yep, you should go with the timer bean solution, search the net there are numerous examples.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.