I have a (signed) Java applet at my website. I don’t want that just anyone can download my Game.jar and take a look at my code. Of course I have just the .class-files (+pics,wav:s etc) packed there, but as far as I know they can be easily decompiled.
But still as I want to prevent jar from being downloaded, I also want that everyone can play my game.
The html code is similar to this:
<applet
codebase = "."
code = "Appletclass.class"
archive = "Game.jar"
name = "The game"
width = 700
height = 500
hspace = 0
vspace = 0
align = top>
</applet>
So what options do I have? I would like to keep the game files packed as a jar.