VisualAge provides menu beans from Swing and AWT packages and tool bar beans from Swing and IBM packages. Basic menu beans from the Abstract Windowing Toolkit (AWT) are provided in the Java class libraries project, in the java.awt package. Enhanced menu and tool bar beans from the Java Foundation Classes (JFC) library are provided in the JFC class libraries project, in the com.sun.java.swing package. Visual composition implementation beans are provided in the IBM Java Implementation project, in the com.ibm.uvm.abt.edit package.
The following beans provide menu and tool bar components:
Bean | Description |
---|---|
JCheckBoxMenuItem (Swing) or CheckboxMenuItem (AWT) | A menu choice that toggles a setting on and off |
JMenu (Swing) or Menu (AWT) | A cascade menu for another menu |
JMenuBar (Swing) or MenuBar (AWT) | A menu bar for a window |
JMenuItem (Swing) or MenuItem (AWT) | A menu choice that calls a method |
JPopupMenu (Swing) or PopupMenu (AWT) | A pop-up menu for window components |
JRadioButtonMenuItem (Swing) | A menu choice that provides one of a set of mutually exclusive setting values |
JSeparator (Swing) or MenuSeparator (AWT) | A horizontal line that separates groups of related choices |
JToolBar (Swing) | A graphical set of tool choices |
JToolBarButton | A button for a tool bar |
JToolBarSeparator | A visual separator between components in a tool bar |