Java Timer Task

JDK 1.3 gives two classes java.util.Timer and java.util.TimerTask and are generally used in combination with threads to generate events at regular intervals.

Following is the link from this same Web site illustrating Timer and TimerTask with example

Timer and TimerTask

Would you like to know the Observer and Observable?

classes Observer and Observable

Leave a Comment

Your email address will not be published.