Re: Java Timer
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 21:54:38 -0800
sconeek wrote:
I want to try something like this, for (int i=0;i<10000;i++) { not sure what to do while its looping???? } Then do whatever.
any help on what should go inside the for loop and if this will actually loop for 10secs or not. thanks to all who reply.
You asked how to do it and even got some examples. Now you are telling us you want to do it with a loop. The reason you aren't getting a loop as an answer is that isn't the way to do it. Use Thread.sleep() or use java.util.Timer but forget the loop.
--
Knute Johnson email s/nospam/knute/ .
- Follow-Ups:
- Re: Java Timer
- From: sconeek
- Re: Java Timer
- References:
- Java Timer
- From: sconeek
- Re: Java Timer
- From: hiwa
- Re: Java Timer
- From: sconeek
- Re: Java Timer
- From: Luc The Perverse
- Re: Java Timer
- From: sconeek
- Re: Java Timer
- From: sconeek
- Java Timer
- Prev by Date: I want to install the j2sdk for linux using blackdown package.
- Next by Date: Re: I want to install the j2sdk for linux using blackdown package.
- Previous by thread: Re: Java Timer
- Next by thread: Re: Java Timer
- Index(es):
Relevant Pages
|