Right-click the menu bar in the Inspector window. 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 Inspector window, select the newly created menu node, and edit the Text property to
the desired menu name (for example, File or Edit).