Is there any normal reason that a GUI would work when launched by running code from, say, Netbeans, but have trouble when launched from a .jar? If I launch my program from Netbeans via Run, it works fine. All buttons work, their functionality works and all is well. I do a clean and build, and when i then run the .jar, one of the buttons stops working, and all the functionality put into buttons and fields stops working.
In case there's no easy answer to this problem, is there a way to see an error log from a jar file?
DISPLAYenvironment variable set?