many of the low-level swing components were covered in the previous two chapters of this book. This chapter will delve into Swing’s menu-related components. Menus and toolbars help make your applications more user-friendly by providing visual command options. Users can avoid the somewhat archaic multi-key command sequences that are holdovers from programs such as the early word processor Word Star and the more current emacs programmer’s editor. Although Swing menus still support multi-key command sequences, the menus (and toolbars) are designed primarily for on-screen graphical selection with a mouse, instead of a keyboard.


Menu Item String Text Color Color Public Class Font Color 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© John Zukowski 1999

Authors and Affiliations

  • John Zukowski

There are no affiliations available

Personalised recommendations