This Java applet creates a digital clock that displays the current date and time. It uses a thread to update the display every second by calling the repaint() method. The paint() method draws the date string obtained from a Date object in a large font. It also draws a welcome message and ships.