Creating a Choice Menu
Use the Choice component to display a menu of options that drops down
from a button.
To add a choice menu to
the layout:
- Click on the Choice component in the AWT palette tab.
- Click in the cell where you want to place the component.
- Open the attribute editor by clicking on its button in the main toolbar.
- Type a unique component ID in the name box.
- Type the names of the menu options in the items box. Each name
should be separated by a comma.
See also:
- Laying Out the Interface
- Generating Java Source Code
- Adding Operations to Components
- GUI Builder Palette
- Visual Java GUI Builder API Documentation
- Visual Java GUI Builder
Runtime Packages
- Class Hierarchy
- Index of
All Fields and Methods