Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applets reading image - security problem

Status
Not open for further replies.

ringd

Programmer
Jul 11, 2000
35
GB
Hello!

I'm trying to write an applet that displays a .gif image on a button. The image file is in a subfolder of the class file location. When the applet tries to load the image, I get a com.ms.securitySecurityExceptionEx[theclassname.<init>]: cannot access file image.gif

All the classes involved (along with the gif) are in a jar. I tried signing the jar as trusted but the same thing happens.

Any suggestions would be welcome!

Cheers,
Dave Ring.
mailto:dave.ring@barclays.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top