Reverted back to the old mousegrabbing code.
Reverted back MinecraftApplet$1.java code which was unable to get resources in applet