The Panel class provides a generic Container within an existing display area.
public class java.awt.Panel
    extends java.awt.Container {
  
  // Constructors
  public Panel();
  public Panel(LayoutManager layout); 
  
  // Instance Methods
  public void addNotify();
}
Constructs a Panel object.

Constructs a Panel object with the specified layout manager.
Container.addNotify()
Creates Panel's peer and peers of contained components.
Applet, Container