This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
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