Hi,

I don't know why when I try to load the file, it throw
java.security.AccessControlException: access denied  (java.util.PropertyPremission * read,write)
How can I solve it?

I'm using windows98

Part of my source code:

public BranchGroup createSceneGraph(){  
  BranchGroup objRoot = new BranchGroup();
  VrmlLoader f = new VrmlLoader();
  Scene s = null;
 
  try {
   s = f.load("man.wrl");   <---the Exception throw out here
  }
  catch(FileNotFoundException e){
   System.err.println(e);
   System.exit(1);
  }
  catch (ParsingErrorException e){
   System.err.println(e);
   System.exit(1);
  }
  catch (IncorrectFormatException e){
   System.err.println(e);
   System.exit(1);
  }
  objRoot.addChild(s.getSceneGroup());
 
  return objRoot;
 }

Reply via email to