Changing the Main Container Type

  1. Choose GUI -> Set Window Type.
  2. Select the container you want to change in the Main Container list.
  3. Click on either the Frame or Panel radio button.
  4. Click OK to change to the new container type.
You can change the type of a top-level container only. A top-level container can be either a frame or a panel.

Panels
Panels are containers that do not create separate windows of their own. A panel should be used as the main container for applets that display their GUIs in a browser page or applet viewer.

Frames
Frames are top-level application windows with a title and a border. A frame should be used as the main container for:

Frames are the only types of containers to which you can add menu bars.

See also:

Laying Out the Interface
Generating Java Source Code
GUI Builder Palette
Choosing Windows or Panels

Visual Java GUI Builder API Documentation
Visual Java GUI Builder Runtime Packages
Class Hierarchy
Index of All Fields and Methods