The method you're referring to here attempts to do the following:

         Properties props = System.getProperties();

That's why you're getting the error.

At 01:42 PM 10/11/2000 +0000, david Xia wrote:
>   I have a problem with the Java3D Applet, my java3D program can run as an
>application or applet. When I run it as an application, no any problem, it
>works fine. But when I run it as an applet, then it showed the following
>error message, I do not know what it really means and what is wrong with the
>program.(When I read in the file, I have already set the file's attribute to
>readable/writeable,and I have access right to it). Could anyone help me
>about this?
>
>   Thanks.
>
>David
>
>--------------------------------------------------------------------
>
>Reeti[34] xiang$ appletviewer xxdtest3.html
>java.security.AccessControlException: access denied
>(java.util.PropertyPermissio
>n * read,write)
>        at
>java.security.AccessControlContext.checkPermission(AccessControlConte
>xt.java:272)
>        at
>java.security.AccessController.checkPermission(AccessController.java:
>399)
>        at
>java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
>        at
>java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:
>1246)
>        at java.lang.System.getProperties(System.java:488)
>        at ncsa.j3d.loaders.ModelLoader.getBaseName(ModelLoader.java:184)
>        at ncsa.j3d.loaders.ModelLoader.load(ModelLoader.java:101)
>        at xxdtest3.createSceneGraph(xxdtest3.java:62)
>        at xxdtest3.<init>(xxdtest3.java:161)
>        at java.lang.Class.newInstance0(Native Method)
>        at java.lang.Class.newInstance(Class.java:237)
>        at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
>        at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
>        at sun.applet.AppletPanel.run(AppletPanel.java:293)
>        at java.lang.Thread.run(Thread.java:484)
>
>
>
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to