Hi, I've hit a problem with JFileChooser and would appreciate some advice. I've implemented JFileChooser in my Client to select the db.db file location and it's working fine. However, implementing the same thing is the Server, the JFileChooser keep trying to read A: drive even if I specify new JFileChooser("."); I believe it's due to the SecurityManager installed in the Server. Can anyone advice how do I get around the problem? Thanks.
posted 18 years ago
Hi, Just like to post here for a workaround to the problem. Apparently, there seems to be a bug in JDK for Windows that caused the problem and the workaround is discussed in the java.sun.com forum. Below is the link to it. http://forum.java.sun.com/thread.jsp?forum=57&thread=137489 I've tried and it works for me. Hope this helps.
Grow your own food... or this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!