O'Reilly logo

Groovy Programming by John Savage, Kenneth Barclay

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

APPENDIX L MORE ON GUI BUILDERS

Chapter 20 introduced basic Swing components using the SwingBuilder markup generator. Here, we consider applications that include other components, such as menus, menu items, toolbars, and dialogs, that we might expect to find in a typical graphical application.

L.1 MENUS AND TOOLBARS

A graphical application often includes a menu that provides the user with access to the functions of the program. A menu bar is used to carry a number of menus. In turn, each menu is a drop-down for a number of menu items that represent the services of the application. They are easy to construct with SwingBuilder using menuBars, menus, and menuItems. The hierarchy is, as we might expect, with the menuBar enclosing the menus and ...

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