CHAPTER 20 GUI BUILDERS
The preceding chapter described how Groovy markup can be used to assemble XML structures. A graphical application is an assembly of Swing components, nested one within another in a hierarchical manner. For example, we might have panels nested within other panels to construct a user interface. Equally, we might have text fields and buttons in a user dialog. Hence, the native syntax of Groovy markup can also be used for Swing applications.
20.1 SWINGBUILDER
A graphical application can be developed using the Swing framework (Eckstein et al., 2002; Topley, 1998). This is a large and complex library consisting of over 300 classes and interfaces. The software engineers that developed it made full use of leading edge technologies, ...
Get Groovy Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.