Since a non-popup menu can only be attached to container, such as a JFrame or a JDialog, you must first open or a container file. You can open one in one of the following ways:
To add a menu component to the UI:
Alternatively, you can open a file that already contains a menu component.
At this point, nothing is visible on the UI. The added menu component is displayed in the Structure window and opens in the Menu Editor.
About Menu Terminology
About Menu Components
About the Menu
Editor
Copyright © 1997, 2004, Oracle. All rights reserved.