Java Threads (Outline)

2/3/00


Click here to start


Table of Contents

Java Threads (Outline)

Motivation

Forms of Parallel Processing

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

Application to Animation

Author: Steven L. Tanimoto

Email: tanimoto@cs.washington.edu

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