Here's a simple example of using SwingBuilder:
Here is what it will look like:
Here is a slightly more involved example, with an example of swing builder code re-use via a closure.
Mailer User Interface example
- Alphabetical Widgets List
- Categorical Widget List
- Extending Swing Builder
- Multithreading with SwingBuilder
@Bindable and @Vetoable AST transformations
Although not specific to the Swing builder, Groovy 1.6 introduced two Bindable and Vetoable transformation of interest to Swing developers.