1. Problem when using JFileChooser in JApplet coderanch.comI will try to remember what if anything we did when we encountered this error. I do remember that it happened on laptops when the last drive accessed before getting into the app was the cd/rom drive. The laptops had no A: at the time. The person I need to talk to is on vacation so I will have to check ... |
2. using JFileChooser in a JApplet initiated uning init forums.oracle.comHi I am trying to create a JApplet that should be able to open a filechooser to upload a file to the server, but whatever i do, as soon as i create the JFileChooser inside the constructor of the GUI class, all GUI elements fails to show. If i remove the line, that could look like this fc = new JFileChooser(); ... |
3. Error during execution in JApplet with JFileChooser forums.oracle.comException in thread "AWT-EventQueue-1" java.security.AccessControlException: acc ess denied (java.util.PropertyPermission user.dir read) at java.security.AccessControlContext.checkPermission(AccessControlConte xt.java:264) at java.security.AccessController.checkPermission(AccessController.java: 427) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12 85) at java.lang.System.getProperty(System.java:628) at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java:295) at java.io.Win32FileSystem.resolve(Win32FileSystem.java:311) at java.io.File.getAbsolutePath(File.java:473) at sun.awt.shell.Win32ShellFolder2. |