A Simple Applet --- Digital Clock

Click here to start

Table of contents

A Simple Applet --- Digital Clock 

The Applet Methods

The Life-Cycle of An Applet

Fields and Initialization

The start() and stop() Methods 

The run() Method

The paint() Method

Who Calls run() And paint()? 

Drawing Strings 

HTML Source

The java.awt.Color Class 

The java.awt.Font Class

Author: Xiaoping Jia

E-mail: jia@cti.depaul.edu

Homepage: http://www.depaul.edu/~xjia

Download presentation