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