: : hi all, i have a strange problem where i found the following error:
: :
: :
: : java.security.AccessControlException: access denied
: :
: :
: : when i try to load my JPG file into the Icon, why?
: :
:
: I'm guessing, but you're probably writing an Applet or otherwise sandboxed application that doesn't have access to the file system. Put the image on the classpath and use the Applet's ClassLoader to load it.
:
: ---------------------------------
:
HOWTO ask questions: http://catb.org/~esr/faqs/smart-questions.html
:
:
yes, indeed, i m developing applet, so i m now trying your solution, thank you very much