News

You must create a timer class instance to use the timer's functions. Add the following code to the Java file:timer = new Timer (countdown, this);Notice the "countdown" variable is used.
You satisfy the first problem by delegating the monitoring to a dedicated file monitor. You satisfy the second by using two classes from the JDK 1.3 java.util package: Timer and TimerTask.
So I inherited this bit of Java code and it has what I will call a Watchdog Timer.<BR>It is set for like 10 minutes and if nothing good happens in 10 minutes it runs some cleanup code.<BR><BR>Now ...