Use a JMenuBar bean to provide a set of pull-down menus for a window. When you add a JMenuBar bean, one menu is automatically added to the menu bar. You can modify this menu and add other menus that you need.
Use a MenuBar bean, rather than a JMenuBar bean, if you want to use it with an AWT window or applet. 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