SwingX and Maven
It has become very easy for Maven based projects to include SwingX as a dependency. Add this section to your pom.xml:
<dependency> <groupId>org.swinglabs</groupId> <artifactId>swingx</artifactId> <version>0.9.1</version> </dependency>
You do not need to declare a different dependency if you are using JDK 1.5 or JDK 1.6. Maven will notice what JDK you are using and download different transitive dependencies (like swing-worker, swing-layout) depending on your Java version.