Class java.awt.Panel
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
A Panel Container class. This produces a generic container.

Constructor Index

 o Panel()
Creates a new panel.

Method Index

 o addNotify()
Creates the Panel's peer.

Constructors

 o Panel
  public Panel()
Creates a new panel. The default layout for all panels is FlowLayout.

Methods

 o addNotify
  public synchronized void addNotify()
Creates the Panel's peer. The peer allows us 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