JDK-4661130 : JFileChooser - Unable to create a new folder in a directory that contains a spac
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-04-02
  • Updated: 2002-04-02
  • Resolved: 2002-04-02
Related Reports
Duplicate :  
Relates :  
Description
Using JFileChooser (this is used by Forte For Java to mount a filesystem)

If the JFileChooser opens by listing "My Documents" folder in Windows 2000,
try to create a new folder in "My Documents" by clicking the new folder icon.

No new folder is created, nothing happens.
If a subdirectory of "My Documents," which doesn't
have a space in its name, is opened and the new folder
icon is clicked then a new folder can be created.

More info...

    On my PC, the "My Documents" directory contains
    the directories, "My eBooks" and "My Pictures."

    A new folder can be created in "My eBooks" but
    not "My Pictures."

    So, it appears that if the 2nd word of the directory
    name begins with a capital letter than a new directory
    cannot be created.

Comments
EVALUATION This behavior does not depend on a space in the folder name, that's just a coincidence. The problem occurs on certain "special" shell folders. See bugs 4522927 and 4486911. ###@###.### 2002-04-02
02-04-2002