当前页面: 
在线文档首页 > 
JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
Class java.awt.Panel - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.awt.Panel
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
  -  public class Panel
  -  extends Container
Panel is the simplest container class. A panel   
 provides space in which an application can attach any other 
 component, including other panels. 
 
 The default layout manager for a panel is the 
 FlowLayout layout manager.
    -  See Also:
    
-  FlowLayout
   
  -   Panel() Panel()
-   Creates a new panel using the default layout manager.
  
-   Panel(LayoutManager) Panel(LayoutManager)
-   Creates a new panel with the specified layout manager.
   
  -   addNotify() addNotify()
-   Creates the Panel's peer.
   
 Panel
Panel
 public Panel()
  -  Creates a new panel using the default layout manager. 
 The default layout manager for all panels is the 
 FlowLayoutclass.
 
 Panel
Panel
 public Panel(LayoutManager layout)
  -  Creates a new panel with the specified layout manager.
   
- 
    -  Parameters:
    
-  layout - the layout manager for this panel.
  
 
   
 addNotify
addNotify
 public void addNotify()
  -  Creates the Panel's peer.  The peer allows you to modify the
 appearance of the panel without changing its functionality.
   
- 
    -  Overrides:
    
-  addNotify in class Container
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A.  All Rights Reserved.