• Post Reply Bookmark Topic Watch Topic
  • New Topic

Testing image loading applet with appleviewer

 
Giorgos Christoulas
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am developing an applet in wich I must load images from the clients pc.
When I test the applet with appletviewer I get the error:
java.security.AccessControlException: access denied (java.io.FilePermission)
.......
However I know that the appletviewer ignores the security restrictions that accompany applets.
Does anyone knows a way to overcome this difficulty?
Thanks in advance
Giorgos
 
Alex Belt
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sign the applet. The Sun applet tutorial is pretty good about addressing the subject.
 
Giorgos Christoulas
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Alex,
thanks for your answer.
I know all about signing the applet. But this part comes when the development has been completed and the applet is ready to be implemented in a Web Browser.
I am interested in testing the applet step by step before it reaches its final form.
Any more suggestions on that?
Thanks in advance
Giorgos
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!