-
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!
-
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 :
[email protected]
-
Timer Bean is the way...
Yep, you should go with the timer bean solution, search the net there are numerous examples.