I just created a java applet in eclipse to be used to read and update some text files. This applet will open certain text files for a jeopardy type game which holds the questions and allows you to change them. When I run the program in Eclipse it works perfect; however, when I try to view the applet in html it will not load. This is the error I get:
java.security.AccessControlException: access denied (java.io.FilePermission questions\DailyDouble\DailyDouble.txt read)
Now just from searchin around google it seems that it has something to do with signing the jar file containing the applet. I am not sure exactly how to do this and the few tutorials I have found did not make much sense to me.
I am not really too sure how to even create the jar file with an applet in eclipse as well. I have never really done any work with applets before this.
Does anyone know how I could fix this?
thanks for the link; however, I am runnin into a few things that confuse me while I am trying to do it. Is there anyone who knows how to do this and has AIM or msn messenger so I could talk to you while I am going through that tutorial and be able to better ask some of the specific questions that I am having? Thanks
never mind..I got it working. Not sure if I totally understand exactly what I did but it works. So I guess I will just keep doing it and hopefully itll start to make some sense. Thanks for the help!