posted 22 years ago
I have the following Code:
When I run this code I get the following error
Exception occurrred during event dispatching:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
If I have the same code in a main() it works fine. Anytime I take that code and put it in init() or another method other than main() this is the error I get.
Does anyone know why?
Thanks