a Java component to show an analog or digital clock.