Changing the Main Container Type
- Choose GUI -> Set Window Type.
- Select the container you want to change in the Main Container list.
- Click on either the Frame or Panel radio button.
- 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:
- A standalone application
- An applet whose GUI exists outside of the browser,
not within the page
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