As everyone else seems to do a clock for their first Java Applet, here's mine. It comprises two classes, a_clock and ac_hand. I've also done done a speaking clock, with an on line demo. If you have any comments or questions, please mail me or drop by my Java! page to see what I've been up to. Feel free to use these classes or the code, but please give me a credit (home page link) if you use this on your pages. Thanks.
The clock has the following features:
- Colour of hands, background and circumference may be individually specifed as hex triplets.
- Background image may be (optionally) specified.
- Flicker free, incremental image load.
- Background image may be tiled, centered or scaled(to match applet size)
Centered:
Scaled:
Tiled:

[Last updated 28-Jan-96 ]