i forgoth to say that its a spring-application, so the swing container
is responsible to initialize the gui-components..
Norbert Lazzeri schrieb:
hi,
ive used intellij to write a swing-application. i also used the
jgoodies plugin.
for each form i created, the builder created 2 files: TheClass.form
(xml-data), TheClass.java
now running the application under intellij works fine (just klicking
the run button). but when i package the project with maven i get a
nullpointer-exception when it comes to initialize the gui-components.
it looks like the application isnt aware of the *.form files
containing information about the gui.
until now i allways wrote swing apps by hand putting all the code into
one java file for each form so im not sure about this: do i have to do
further configuration than just adding the jgoodie - jars to the
classpath?
i just added a dependency to the pom.xml, configured the dependency
plugin to copy all jars into the target directory and set the
classpath in the jar-plugin.
ill also ask for help in the jgoodie - mailing list but i wanted also
to ask you guys if its a maven related thing like missing a setting
cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org