I created a class using JFrames that accesses a class that reads, writes, and creates files. I have now created an almost identical file, except that I extended JApplet instead of JFrame and use init() instead of a constructor.
Now, whenever I try to interact with the files through the same class as before, I get the following exception:
How can I allow the applet to read the file?
Thanks!
--Chessbot
There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
Now, whenever I try to interact with the files through the same class as before, I get the following exception:
Code:
java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
Thanks!
--Chessbot
There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.