Main Container Dialog Box
Use the Main Container dialog box to change the type of a
top-level container. 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.
To change a container from a frame to a panel, or panel to a frame:
- Choose the container in the Main Container list.
- Click on either the Frame or Panel radio button.
See also:
- Visual Java Overview
- The Visual Menu
- Visual Java Components
- Laying Out GUI Interfaces
- Generating Java Source Code
- Adding Operations (Filters and
Actions)
- Visual Java Runtime Classes
- Creating Menus
- Adding Custom Components and Windows
- Using Groups and Shadows (Basic)
- Using Groups and Shadows (Advanced)
- Visual Java API Documentation
- Visual Java
Runtime Packages
- Class
Hierarchy
- Index of
all Fields and Methods