|
-
Dec 25th, 2000, 04:48 AM
#1
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.
-
Dec 26th, 2000, 02:02 AM
#2
If you don't want to tie up the cpu while in your loop, then YES, use threads.
Happy Holidays!
-
Feb 8th, 2001, 02:35 AM
#3
Addicted Member
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]
-
Feb 12th, 2001, 02:24 PM
#4
Hyperactive Member
Timer Bean is the way...
Yep, you should go with the timer bean solution, search the net there are numerous examples.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|