Posted Wednesday, December 31, 1969 @ 23:59:59
Dear Ben,I don't know why I get an AccessControlException. The only thing I do is calling the class DBTable:
import javax.swing.*;
import quick.dbtable.*;
public class DBTableApplet extends JApplet {
public void init() {
DBTable dBTable1 = new DBTable();
}
}
And I get an AccessControlException. So, whats wrong ?
I'm using DBTable 2.0.3 and sdk1.4.1 as Plugin.
If I call e.g.:
JTextField t = new JTextField("Hi");
getContentPane().add(t);
anything looks fine.
My HTML-page looks like:
...
CODEBASE = "."
CODE = "DBTableApplet.class"
NAME = "TestApplet"
WIDTH = 400
HEIGHT = 300
HSPACE = 0
VSPACE = 0
ALIGN = middle
ARCHIVE ="quicktable2swing11.jar"
...
and the error is:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.misc)