O'Reilly logo

Graphic Java™ 2, Volume II: Swing, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Menus and Toolbars

Menus and toolbars are staples of modern user interfaces, and Swing provides full support for both. Swing includes components for menus—both menus that reside in menu bars and popup menus—in addition to components for menu items including checkbox and radio button menu items.

Swing also provides a toolbar component that contains a row or column of buttons, depending upon the toolbar's orientation. Toolbars are typically used to provide easy access to common features. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required