alright, i got this applet that should connect to an irc server, (in this case irc.tip.it)
when i run it via the applet viewer, it works perfectly.
but when i try running it in the browser window, i get the following in the console, and the program stops:
Exception in thread "Thread-8" java.security.AccessControlException: access denied (java.net.SocketPermission irc.tip.it resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at smoothIRC.run(smoothIRC.java:129)
at java.lang.Thread.run(Unknown Source)
how can i prevent this?