javanetbeansjava-metro-frameworkwsit

Netbeans webservice client works only when running from IDE


Using Netbeans 6.8 and metro 2.0 I have written a simple application that makes calls to a webservice and displays the results in java swing components. When I run the application in the Netbeans IDE (using F6), the application works perfectly.

However, when I attempt to run the compiled application from the .jar file in the dist folder, my swing UI comes up, but when I press the button that causes my web service to be called, nothing happens.

Anyone know how I can get this to work?


Solution