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.
-
init()
- Initialize the applet.
-
run()
- The main loop for the main thread.
-
start()
- Start the main thread for this game.
-
stop()
- Stop this thread.
start
public void start()
- Start the main thread for this game.
- Overrides:
- start in class Applet
stop
public void stop()
- Stop this thread.
- Overrides:
- stop in class Applet
run
public void run()
- The main loop for the main thread.
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