Java AWT

Previous Chapter 19
java.awt Reference
Next
 

Panel

Name

Panel

[Graphic: Figure from the text]

Description

The Panel class provides a generic Container within an existing display area.

Class Definition

public class java.awt.Panel
    extends java.awt.Container {
  
  // Constructors
  public Panel();
  public Panel(LayoutManager layout); (New)
  
  // Instance Methods
  public void addNotify();
}

Constructors

Panel

public Panel()

Description

Constructs a Panel object.

public Panel (LayoutManager layout) (New)

Description

Constructs a Panel object with the specified layout manager.

Instance Methods

addNotify

public void addNotify()

Overrides

Container.addNotify()

Description

Creates Panel's peer and peers of contained components.

See Also

Applet, Container


Previous Home Next
MenuShortcut (New) Book Index Point

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.