Class chap4.ch4_fig9a
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class chap4.ch4_fig9a
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----chap4.ch4_fig9a
  -  public class ch4_fig9a
  
-  extends Applet
  
-  implements Runnable
   
An applet that finds the other applets that exist within
this AppletContext, and stops them.
  
  -  
	init()
   -  Resize us to be wide enough for the status string.
  
 -  
	paint(Graphics)
   -  Paint our window.
  
 -  
	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
  
 
 
init
  public void init()
  -  Resize us to be wide enough for the status string.
  
    -  Overrides:
    
 -  init 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.
 
paint
  public void paint(Graphics g)
  -  Paint our window.  Destroy each applet we find, 
then display a string boasting of this achievement.
  
    -  Overrides:
    
 -  paint in class Component
  
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index