Use a JMenu bean 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.
Use a Menu bean, rather than a JMenu bean, if you want to use it with an AWT container. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Menu or Tool Bar
Menu and Tool Bar Beans
Beans for Visual Composition