Class chap4.ch4_fig5
All Packages Class Hierarchy This Package Previous Next Index
Class chap4.ch4_fig5
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----chap4.ch4_fig5
- public class ch4_fig5
- extends Applet
- implements Runnable
A do-nothing applet that runs in its own thread. Never terminates.
You must kill the browser to get rid of this applet.
-
run()
- The main loop for the main thread.
-
start()
- Start the main thread for this applet.
-
stop()
- Stop this thread.
start
public void start()
- Start the main thread for this applet.
- 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.
All Packages Class Hierarchy This Package Previous Next Index