The GUIClock class is an applet that displays the current time and uses an AlarmClock object to wake it up every minute so that it can update its display. Here's the GUIClock applet running:
You can't run Java 1.0.2 applets. Please use a Java enabled browser when viewing this page