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.
Adding a menu or tool bar
Sun's MenuBar bean documentation
Menu and tool bar beans
Beans for visual composition