ok, so I am using class files on my server to load my program but it is erroring out at my images
here is my code:
The image is in the same directory as the class files and I even set the permissions on the images to 777 but still getting this error:
any idea as to what I should be doing??
Thank you
here is my code:
Lab6 = new JLabel(new ImageIcon(getImage("LoadingGame.png")));
Lab6.setBounds(0,0,1000,700);
Mainwindow.add(Lab6);
Lab6.setVisible(true);
The image is in the same directory as the class files and I even set the permissions on the images to 777 but still getting this error:
AccessControlException
access denied("java.io.FilePermission""LoadingGame.png""read")
any idea as to what I should be doing??
Thank you