java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Panel
public class Panel
extends Container
Panel is the simplest container class. A panel provides space in which an application can attach any other component, including other panels.
The default layout manager for a panel is the FlowLayout layout manager.