Skip to end of metadata
Go to start of metadata

What is SwingX(SwingLabs)?

SwingX is the UI component library developed by Sun's SwingLabs. Many of the components used and developed in the "Filthy Rich Clients" and "Extreme GUI Makeover" presentations first make their mark in SwingLabs before making it to core Java. SwingX adds a lot of convenience features that originally one would have to make himself, such as TaskPanes, enhanced core components, glossy components, etc.

Can I use it with my application built using v1.0?

Yes... The SwingXBuilder subclasses the classic SwingBuilder so generally speaking you can just switch the declaration and everything SHOULD work. Please let me know if something from core is broken in SwingXBuilder. Any component that exists in both defaults to the SwingX version but can be accessed by adding the classicSwing property and setting its value to true.

How do I build it?

Source is at

SwingXBuilder uses Gradle as its build tool.


Current release

SwingXBuilder 0.3


Drop swingxbuilder-0.4 into $GROOVY_HOME/lib along with its dependencies




Groovy 1.8.8 is the required minimum version to run SwingXBuilder 0.3
Previous versions of SwingXBuilder will run with earlier versions of Groovy, it is recommended that you upgrade to the 1.8.x series in order to take advantage of

  • @Bindable and ASTTransformations
  • short binding syntax
  • numerous enhancements made to SwingBuilder and FactoryBuilderSupport


SwingxBuilder 0.2 has the following compatibility changes

  • Removed Nodes
    • glassBox

SwingxBuilder 0.1.7 has the following compatibility changes

  • Removed Nodes
    • imagePicker
    • paintPicker
    • shapeChooser
    • sortArrowIcon
    • urlPainter

Older Releases

swingxbuilder-0.1.1.jar (compatibile with Groovy 1.1-beta-3)
swingxbuilder-0.1.2.jar (compatibile with Groovy 1.1-rc-1)
swingxbuilder-0.1.3.jar (ships with Groovy 1.1-rc-2 windows installer)
swingxbuilder-0.1.5.jar (ships with Groovy 1.5 windows installer)
swingxbuilder-0.1.6.jar (ships with Groovy Windows installer)

Library Versions

0.1.1 is compiled against the SwingLabs 16 Sep 2007 build a Make sure those jars are on your path, including the ones in the lib directory.
0.1.2 and 0.1.3 are using SwingX 0.9 release build
0.1.5 uses the SwingX 0.9.1 release build, and ships with the Windows installer for Groovy 1.5.0.
0.1.6 uses the SwingX 0.9.5 release build.
0.1.7 uses SwingX 1.6.1
0.2 uses SwingX 1.6.3 and Groovy 1.8.6
0.3 uses SwingX 1.6.4 and Groovy 1.8.8

  • No labels