Solved issue with applet