Updated Java applet, the previous one crashed on PIN detection