subsection contents

Digital Clock Applet

Sorry, this applet requires a Java-enabled browser.

This applet displays the current time in a digital format. It also displays the current date.

This version allows the user to select the time format (ie 12 hour AM/PM format or 24 hour format). Also, there is the option of changing the colour used for the clock display.

If you are using a browser, you can suspend the clock by clicking within the applet's display area. Click again to re-activate it. The applet uses its own thread to update the time, so it shouldn't steal too many cycles from other processes.

Let me know of any problems or possible improvements.

Source code:

Last updated: July 18, 2000