JMenu (Swing)

Use a JMenu bean JMenu to provide a set of related choices for a window or component. You can add the menu either as a pull-down menu for a menu bar or as a cascade menu for another menu. You can also add subclasses of AbstractAction to the free-form surface and add them to the menu in the menu get method.


Related procedures
Adding a menu or tool bar

Related references
Sun's JMenu bean documentation
Menu and tool bar beans
Beans for visual composition