Slick Forums

Problem with applet
Page 1 of 1

Author:  Maalpa [ Sat Nov 09, 2013 10:10 pm ]
Post subject:  Problem with applet

Hi, i have problem with running my game in applet. I always get this error

Sat Nov 09 22:40:56 CET 2013 ERROR:access denied ("" ".\org\newdawn\slick\data\defaultfont.png" "read") access denied ("" ".\org\newdawn\slick\data\defaultfont.png" "read")
at Source)
at Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at Source)
at org.newdawn.slick.util.FileSystemLocation.getResourceAsStream(
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(
at org.newdawn.slick.Image.<init>(
at org.newdawn.slick.Image.<init>(
at org.newdawn.slick.Image.<init>(
at org.newdawn.slick.Image.<init>(
at org.newdawn.slick.AngelCodeFont.<init>(
at org.newdawn.slick.Graphics$
at Method)
at org.newdawn.slick.Graphics.<init>(
at org.newdawn.slick.GameContainer.initSystem(
at org.newdawn.slick.AppletGameContainer$Container.initApplet(
at org.newdawn.slick.AppletGameContainer$ContainerPanel.initGL(
at org.newdawn.slick.AppletGameContainer$ContainerPanel.start(
at org.newdawn.slick.AppletGameContainer$

Maybe someone know how to fix this issue ?

Best Regards.

Author:  TLOH45 [ Thu Mar 27, 2014 7:58 am ]
Post subject:  Re: Problem with applet


I'm sorry this topic is quite old, but I have the same problem and I can't figure out how to resolve it. Does anyone have a clus ?

I know that resources can't be accessed with File class inside a jar, I didn't do it with my own ressources but what if it's slick which look for its resources..

Thanks for any help!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group