Dear hardwired

1) In order to trick the applet I created, like you suggested, a second class and triggered the fileloader method from its constructor:

private Image downloadImage(String filename) {
URL url;
url = getClass().getResource("Imagestore/" + filename);
try {
images =;
} catch (IOException ex) {
JOptionPane.showMessageDialog(infoPane, "can not read file " + ex);

2) I created an object of the second class inside the applet init (?)
3) and tried to get the files etc. through public get-methods.
It still isnīt working. I believe the problem is and was the applet.policy file.
The console says: access denied ( Imagestore read)
at (
at java.lang.SecurityManager.checkPermission(Security
at java.lang.SecurityManager.checkRead(SecurityManage
at LoadImages.readImageFilelist(
at LoadImages.<init>(
at Slides.init(

I`ll keep on trying