Java Threads (Outline)

4/8/99


Click here to start


Table of Contents

Java Threads (Outline)

Motivation

The Class Thread

Example: ThreadRace.java

Class CountingThread (for ThreadRace)

Sample Output from ThreadRace

The Runnable Interface

Handling threads in an Applet

Example: Clock Applet

Clock Applet (continued)

Appearance of the Clock Applet

Thread State

Thread Priority

Thread Groups

Author: Steven L. Tanimoto

Email: tanimoto@cs.washington.edu

Home Page: www.cs.washington.edu/people/faculty/tanimoto.html