modified makefile and applet code
changed the applet code