Frame

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

Use a Frame bean to provide a desktop window with a title bar, sizing borders, and sizing buttons. You can add beans to the frame to define menus and other user interface components.

The Frame bean supports a client component in which to place other components. The default client component is a Panel bean named ContentsPane. You can delete the default client and replace it with another container component.

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


Related procedures
Composing a Window

Related references
Window Beans
Beans for Visual Composition