The code below (with line numbers) are generating the exception below, when
I try to run
appletviewer (SDK 1.3.1).
But IE 5.5 & Netscape 7.0 just runs fine.
How can i set/change appletviewer security policy ?
...
94 GraphicsConfiguration config =
95 SimpleUniverse.getPreferredConfiguration();
96
97 Canvas3D c = new Canvas3D(config);
...
C:\jdk1.3.1_02\demo\java3d\HelloUniverse>appletviewer HelloUniverse.html
java.security.AccessControlException: access denied
(java.util.PropertyPermissio
n j3d.stereo read)
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.checkPropertyAccess(SecurityManager.java:12
78)
at java.lang.System.getProperty(System.java:560)
at
com.sun.j3d.utils.universe.SimpleUniverse$1.run(SimpleUniverse.java:3
03)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.j3d.utils.universe.SimpleUniverse.getPreferredConfiguration(S
impleUniverse.java:300)
at HelloUniverse.init(HelloUniverse.java:94)
at sun.applet.AppletPanel.run(AppletPanel.java:344)
at java.lang.Thread.run(Thread.java:484)
_______________________________________________________________________
Busca Yahoo!
O melhor lugar para encontrar tudo o que voc� procura na Internet
http://br.busca.yahoo.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".