This sample is similar to the Clock Sample, but the clock is displayed using images instead of text.

The location for the images has been reserved in the HTML below, and marked with ID attributes.


The time at the server is now:


The Java processing here is similar to the Clock Sample, except the thread that does the time updating. Instead of writing text into a para, it updates the image source for the images.

Also in this sample, the clock updating starts on a button click event, instead of in the onLoad method.