The Building Blocks
Organization of Java Programs
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 Blinking Text Applet
The Blinking Text Applet (cont'd)
Blinking Text --- paint() Method
Blinking Text --- paint() Method (cont'd)
The java.awt.Color Class
The java.awt.Font Class
Java Data Types
Reference Type and Garbage Collection
Java Character Type
Java Arrays
Java String
Class Declaration
Class Modifiers
Method And Field Declaration
Method and Field Modifiers
Accessibility of Class Members.
Class Declaration Example
Explicit Initializer
Constructors
Variable, Object, Class, Type
Object Reference: this
Static Variables
Static Methods
Invoking Methods
final Variables
The toString() Method
Author: Xiaoping Jia
E-mail: jia@cti.depaul.edu
Homepage: http://www.depaul.edu/~xjia
Best viewed with