Under rating threshold (hideshow)
Cool! I will definitely use this. However, I am unable to copy the code. (Most likely because its a game rather then real text. Would it be possible to create a downloadable file with the code in it. I will credit you for sure if I use this API.
Do you have any adBlocker or noScript program? Both of them will block Java (all noScipts and some adBlockers). If you don't have both of them, but just downloaded Java reboot will help. Also make sure that you don't have older versions of Java.
Under rating threshold (hideshow)
im confused, i see the .class code, but i also see .html... does HTML actually work with Java? or am i only supposed to put in the .class?
You can make HTML working with Java using LWJGL - it allows you to use Java from JavaScript inside HTML files what is necessary to make the API work. Unfortunately I don't know if this is possible for Java2d games.