Re: call a method at intervals
- From: "Mike Schilling" <mscottschilling@xxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 16:45:28 GMT
"rickbear" <rickbeardk@xxxxxxxxx> wrote in message
news:1146324798.128779.61940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi!
I made an applet in one class.
Now I would like to call two of the methods in a certain timeinterval.
Something like javascript's setInterval("method()", milliseconds);
The one method has to run every minute and the other on every fifth
minute.
Is that possible without making more classes? and how?
Look into java.util.Timer
.
- References:
- call a method at intervals
- From: rickbear
- call a method at intervals
- Prev by Date: Re: A fixed size window in Java
- Next by Date: Re: call a method at intervals
- Previous by thread: call a method at intervals
- Next by thread: Re: call a method at intervals
- Index(es):