Ideally, the run() method should only be called at the scheduled time... However...
- The Timer class only uses one
thread, so a TimerTask may be called late if another task is currently running. With enough repeating timer tasks, a backlog could even develop.
- The Timer class uses the system time to calculate the wait times, so you can get weird results if you change the system time.
Henry
[ June 30, 2006: Message edited by: Henry Wong ]