By default, reading or writing files are not allowed for a normal applet, so you have to give appropriate permission to the applet by either using .java.policy file or sign the applet with a security...