Reputation: 1707
I only have one class in my .jar file and don't need user to click for security warning. How can I display it from popping up?
Upvotes: 0
Views: 91
Reputation: 18387
I assume you mean "How can I prevent it from popping up."
You'll want to look into the difference between signed and self signed applets.
How do I sign a Java applet for use in a browser?
http://en.wikipedia.org/wiki/Java_applet
http://www.narendranaidu.com/2007/11/3-easy-steps-to-self-sign-applet-jar.html
Long story short, your user is going to have to have at least 1 security popup they will have to accept.
Upvotes: 1