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
Panelobject.
public Panel (LayoutManager layout)
- Description
- Constructs a
Panelobject 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