Implements the analog clock, including specific drawing methods and parameter reading.
ClockApplet
Implements basic clock functionality; threads, time calculation etc.
ExtendedApplet
Implements parameter parsing and other frequently-required applet functionality.
Project Archive (StuffIt)
Sources and CodeWarrior project in StuffIt 5 format for Macintosh users.
Project Archive (ZIP)
Sources in ZIP format for PC users.
To download source or class files, click on the file icon with your right mouse button (Windows/UNIX) or click and hold (Macintosh) and choose "Save ..." or "Download ...". Archives containing the sources for this applet are provided in StuffIt 5 and Zip format.
Offset relative to GMT (in hours). If this parameter is not specified, the clock will show time in the user's time zone. Setting this parameter to 0 will give GMT.
hand-color
Color
#rrggbb
#000000
Color used for the clock's hands
second-hand-color
Color
#rrggbb
#FF0000
Color used for the clock's second hand
frame-color
Color
#rrggbb
#000000
Color of frame surrounding clock
face-color
Color
#rrggbb
#FFFFFF
Color for the clock face
background-color
Color
#rrggbb
#CCCCCC
Color used for background. Set this color to the color of your page background.