Results 1 to 4 of 4

Thread: need a Java GURU...Applet question

  1. #1
    Guest

    Exclamation

    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.

  2. #2
    Guest
    If you don't want to tie up the cpu while in your loop, then YES, use threads.

    Happy Holidays!

  3. #3
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    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]

  4. #4
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367

    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
  •  



Click Here to Expand Forum to Full Width