xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Becker" <bec...@bluemartini.com>
Subject security exception when resizing a JSVGComponent in an applet
Date Sun, 10 Mar 2002 17:28:47 GMT
I was hoping to create an unsigned applet which would get svg documents from a server and render
them in the ui.
However, it seems that it is impossible to resize the svg images in the applet without causing
an AccessControlException.
Is there any way to avoid this problem without signing the applet? Here is the exception I

 java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
 at java.security.AccessControlContext.checkPermission(Unknown Source)
 at java.security.AccessController.checkPermission(Unknown Source)
 at java.lang.SecurityManager.checkPermission(Unknown Source)
 at sun.applet.AppletSecurity.checkAccess(Unknown Source)
 at java.lang.Thread.checkAccess(Unknown Source)
 at java.lang.Thread.interrupt(Unknown Source)
 at org.apache.batik.swing.gvt.JGVTComponent.scheduleGVTRendering(Unknown Source)
 at org.apache.batik.swing.gvt.JGVTComponent$1.componentResized(Unknown Source)

I'm using JDK 1.3.1_02 on Windows 2000.


View raw message