I have written a game which I would like to imbed in an advertising banner. Does anyone know how to do this? Perhaps some sample code somewhere on the net?
Thanks in advance
I have written a game which I would like to imbed in an advertising banner. Does anyone know how to do this? Perhaps some sample code somewhere on the net?
Thanks in advance
Your game must be changed to subclass applet if it doesn’t already and tested at the dimensions of a banner ad. One you have it running with appletviewer you need only write a little HTML to make it run on a web page.
One note, the browser might cache your applet and ignore a newer jar on reload. If you always use a new browser you won’t get burned that way while testing.
How do I hide the source code to prevent reverse engineering of the compiled code? Or if not possible, how can I make it difficult to reverse engineer the code?
Its not really possible to “hide” the source of your java app. Anyone can decompile it.
You could check out obsfucation which changes all the symbols in your compiled source into unreadable gobblde-gook…
You might try.,…
http://www.retrologic.com/retroguard-main.html
Kev