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 -
Mike Schilling - 29 Apr 2006 17:45 GMT
> Hi!
>
[quoted text clipped - 5 lines]
> minute.
> Is that possible without making more classes? and how?
Look into java.util.Timer
Trung Chinh Nguyen - 29 Apr 2006 17:48 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
> Hi!
>
[quoted text clipped - 7 lines]
>
> - rick -