Re: call a method at intervals
- From: Trung Chinh Nguyen <chinhnt2k3@xxxxxxxxx>
- Date: Sat, 29 Apr 2006 16:49:14 GMT
If you are using Swing Applet you can use its Timer class
Have a look at http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/Timer.html for details
rickbear wrote:
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?
- rick -
- References:
- call a method at intervals
- From: rickbear
- call a method at intervals
- Prev by Date: Re: call a method at intervals
- Next by Date: Re: A fixed size window in Java
- Previous by thread: Re: call a method at intervals
- Next by thread: Strange behaviour of applet running under Opera
- Index(es):