Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter you continue your examination of the SWT by looking at another component for designing professional-looking windows—menus. In SWT, the classes provided to help you create menus are Menu and MenuItem, both located in the org.eclipse.swt.widgets package.
Menus are the primary application navigation tool you provide for your users, and it is a rare application that doesn't make use of them. The published standards for designing GUIs specify the types of windows that should display a menu, the functionality the menu should provide, and the names of specific menu items. You can get the same guidance by examining the menu structure of almost any application running on your target platform.