class test extends java.util.TimerTask{
public test(java.util.Timer t){
t.schedule(this, 5 * 60 * 1000);
}
public void run(){
showTime();
}
public void showTime()
{
Date theDate = new Date();
System.out.println("The time is" +theDate);
}
}
-pete I just can't seem to get back my IntelliSense
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.