-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b43
-
generic
-
generic
JFileChooser now supports a UI defaults property "FileChooser.readOnly" which
prevents creation of new folders and renaming files. If setting this property
to false, then FilePane crashes with a NullPointerException.
java.lang.NullPointerException
at sun.swing.FilePane.addActionsToMap(FilePane.java:354)
at sun.swing.FilePane.createActionMap(FilePane.java:346)
at sun.swing.FilePane.<init>(FilePane.java:124)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFile
ChooserUI.java:185)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserU
I.java:135)
[...]
###@###.### 2004-02-25
prevents creation of new folders and renaming files. If setting this property
to false, then FilePane crashes with a NullPointerException.
java.lang.NullPointerException
at sun.swing.FilePane.addActionsToMap(FilePane.java:354)
at sun.swing.FilePane.createActionMap(FilePane.java:346)
at sun.swing.FilePane.<init>(FilePane.java:124)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFile
ChooserUI.java:185)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserU
I.java:135)
[...]
###@###.### 2004-02-25
- relates to
-
JDK-4525475 Cannot prevent file-system modification in JFileChooser
- Resolved