you will have to give permission for the applet to read/write the system property. If you edit the java.polocy file in <jdk_home>\jre\lib\security\java.policy and add the line(s):
permission java.util.PropertyPermission "<SystemProperty>", "read";
permission java.util.PropertyPermission "<SystemProperty>", "write";
eg
permission java.util.PropertyPermission "os.name", "read";
permission java.util.PropertyPermission "os.name", "write";
You should now be able to set the properties in the applet.
/Br
Paul.
you will have to give permission for the applet to read/write the system property. If you edit the java.polocy file in <jdk_home>\jre\lib\security\java.policy and add the line(s):
permission java.util.PropertyPermission "<SystemProperty>", "read";
permission java.util.PropertyPermission "<SystemProperty>", "write";
eg
permission java.util.PropertyPermission "os.name", "read";
permission java.util.PropertyPermission "os.name", "write";
You should now be able to set the properties in the applet.
/Br
Paul.s.name", "write";
You should now be able to set the properties in the applet.
/Br
Paul.