[Chapter 19] Panel
Author: John Zukowski
Date: Thu Jul 31 15:15:14 1997

#

| Chapter 19 java.awt Reference |

# Panel

## Name

Panel

##

## 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);

      // Instance Methods
      public void addNotify();
    }

## Constructors

### Panel

#### public Panel()

Description

  Constructs a `Panel` object.

#### public Panel (LayoutManager layout)

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`

MenuShortcut |  | Point