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 contains a ContentsPane bean, the default client component, where you place other visual components. You can replace the default client with another container component.
If you want to use Swing components in the frame, use a JFrame bean rather than a Frame (AWT) bean.
Composing a window
Window beans
Beans for visual composition
Sun's Frame bean documentation