This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So, I have a program that must be distributed using WebStart, and it has to have Save/Open dialogs. The program runs PERFECTLY (If I may so ) when not in Web Start, but the moment I run it through Web Start, I can't use anything that invokes a JFileChooser.
Is there a reason for this I should be aware of?
If I haven't mentioned enough, let me know and I'll be happy to provide any and all details!
What exactly do you mean by "I can't use anything..." - are there any exceptions if you do so in the Java Concole?
Barring further information I'd guess that the jar file used by the application is not signed, and thus it is not allowed to access the local file system.
Joined: Oct 02, 2009
Nope, there are no exceptions if I do this outside of Web Start or anything--it runs perfectly fine. Also, the JAR is up to date and everything. Sorry for not being specific, but I simply can't use any command/listener/method that would invoke a JFileChooser.
My JAR is not signed... does it have to be? I suppose I should get to it then.
I asked in another thread, but maybe I should append here if this is the case. Is there a tutorial for signing JAR's? (The CORRECT way.) Or etiquette, conventions, or anything?