Class chap5.ch5_fig1
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class chap5.ch5_fig1
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----chap5.ch5_fig1
  -  public class ch5_fig1
  
-  extends Applet
  
A simple applet demonstrating the characteristics of the
various layout managers.  Shows all except GridBagLayout.
  
  -  
	action(Event, Object)
   -  Deal with the user click on one of the 'card' buttons in
the CardLayout panel.
  
 -  
	init()
   -  Initialize the applet.
 
  
init
  public void init()
  -  Initialize the applet. Create all the panels, set the
appropriate layout managers for each one, and add all
the buttons to the panels.  Then resize and show.
  
    -  Overrides:
    
 -  init in class Applet
  
 
 
action
  public boolean action(Event e,
                        Object o)
  -  Deal with the user click on one of the 'card' buttons in
the CardLayout panel.  Makes the next button in the button
stack pop to the top.
  
    -  Returns:
    
 -  true
    
 -  Overrides:
    
 -  action in class Component
  
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index