Class chap4.ch4_fig12
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class chap4.ch4_fig12

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----chap4.ch4_fig12

public class ch4_fig12
extends Applet
implements Runnable
A threaded applet that takes a list of URLs as an argument, then visits each of those URLs, delaying for delay milliseconds between URL switches.

Method Index

 o init()
Initialize the applet.
 o run()
The main loop for the main thread.
 o start()
Start the main thread for this game.
 o stop()
Stop this thread.

Methods

 o start
  public void start()
Start the main thread for this game.
Overrides:
start in class Applet
 o stop
  public void stop()
Stop this thread.
Overrides:
stop in class Applet
 o run
  public void run()
The main loop for the main thread.
 o init
  public void init()
Initialize the applet. Resize and load images.
Overrides:
init in class Applet

All Packages  Class Hierarchy  This Package  Previous  Next  Index