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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet notinited error 1

Status
Not open for further replies.

gibson153

Technical User
Jul 20, 2001
29
US
I know that I am having a security issue because the applet is trying to acess a file on my computer (where the code is housed also). How do I fix it so that the applet can get to these images?

David
 
If you want to get images in an Applet, you shouldn't use File f = new File(). You should use the getImage() method found in the class Applet. This should work without getting the Access permission exception.

Leon
 
Is there some where I can go to see this done? I am new to java and working examples go a long way to helping understand how classes are implemented?
 
Thanks for pointing me in the right direction. I was able to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top