I want to develope an applet and I'd like to use the
jfilechooser, but when I try to execute the applet a get a security
message error. I tried modifying the .java.policy file but I really
dont know how to grant the apropiate permission. I create
a .java.policy just like this:
grant codeBase "file:/d:-" {
permission java.io.FilePermission "<<ALL FILES>>", "read";
permission java.io.FilePermission "<<ALL FILES>>", "write";
permission java.util.PropertyPermission "user.home", "read";
permission java.util.PropertyPermission "user.dir", "read";
};
I'm programming with Forte for Java release 3.0 and JDK1.4