• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Placing an image on a button...

 
Chris Stewart
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I keep getting this error "java.security.AccessControlException: access denied (java.io.FilePermission *my http to the image* )" when I run this line of code:
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are not downloading your applet from http://www.isy.vcu.edu/SOMEPATH, you won't be able to access image from that location either. That's the applet security feature.
HTH,
- Manish
 
Chris Stewart
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I figured it out last night. Man what a night...
http://www.isy.vcu.edu/~cstewart/info350/Homework3.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic