Right-click the menu bar in the Component Inspector. Choose Add JMenu
or Add Menu from the contextual menu.
To change the name of the new menu, expand the menu bar node in the Component
Inspector, select the newly created menu node, and edit the Text property to
the desired menu name (for example, File or Edit).