My Java is very rusty, but ...
Code:
MinecraftApplet var15 = new MinecraftApplet();
var15.setStub(var14);
I think the message is saying you don't have a MinecraftApplet.setStub method.
If so, it should be fixable by extending the MinecraftApplet with that method.
Warning: This is application code, I rarely ever did anything other than system's code.