Using files

Hello,

I use new FileWriter("save.txt") to write to a new file.

Working with JBuilder it was fine.

Now I change the environment to dos os, using appletviewer, and for some reason, I get exception on this command, and the exception is:

Error -- java.security.AccessControlException: access denied (java.io.FilePermission) save.txt write

How can I fix it ?

Thanks, Guy.

[410 byte] By [guyw77] at [2007-9-27 17:24:41]
# 1
Applets are not allowed to write to files. This can be changed. Search the forum, I have seen this question a couple of times before.
patrik olsson at 2007-7-6 12:23:05 > top of Java-index,Archived Forums,Portability & Platform Independence [Archive]...