Panel

Palette category
AWT
Palette bean
Panel
Project
Java class libraries
Package
java.awt
Type
Panel

Use a Panel bean as a composition surface for other user interface components, such as buttons, lists, and text. You can add a panel to a window, an applet, or another panel. In an AWT window, a Panel can either serve as the client component, or be added to the client component.

Use a JPanel bean, rather than a Panel bean, if you want to use Swing components in the panel. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a Pane or Panel

Related references
Pane and Panel Beans
Beans for Visual Composition