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
Would you like to know the Observer and Observable?