JFileChooser permission error.

Our application, or applet if you will has been working fine. We have not needed to create any specific security permissions on the client PC as the applet is signed.

As of late, and only in IE we get a:

java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)

When the code below is executed.

int returnVal = selectOMission.showDialog(this, "Save Mission");

--selectOMission is defined as "JFileChooser selectOMission = new JFileChooser();"

This problem is not present in linux, or when running other browsers in XP.

Anyone have any ideas?

[630 byte] By [timmoyera] at [2007-10-3 8:48:11]
# 1

Self healing is good.

We keep out look and feel in a separate jar. Makes it easier to customize the app. The error was not being caused by the FileChooser but rather by the ui.

Signing the look jar fixed it.

It is rather strange that this only occurred when using IE on windows all other browsers worked and EI on Mac worked as well ...

timmoyera at 2007-7-15 3:57:17 > top of Java-index,Security,Signed Applets...