Jgoodies is a good and quick tool for build Swing application.
I have no problem using it and running it inside Intellij.
Also if I use Intellij’s build in way to build the Jar, no problem.
However when I was trying to use maven to build this executable jar, problem comes.
it looks like the application isnt aware of the *.form files containing information about the gui. All I get is a NullPointerException at the beginning of the GUI component line.
Search across the web, not many threads are talking about this.
Finally find this plugin and solve the problem: http://mojo.codehaus.org/ideauidesigner-maven-plugin/
add this to the pom:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>ideauidesigner-maven-plugin</artifactId> <executions> <execution> <goals> <goal>javac2</goal> </goals> </execution> </executions> <configuration> <fork>true</fork> <debug>true</debug> <failOnError>true</failOnError> </configuration> </plugin>