applet code written in notepad