Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 21993 - Unable to create a new folder in a directory that contains a space
Unable to create a new folder in a directory that contains a space
Product: platform
Classification: Unclassified
Component: -- Other --
PC Windows ME/2000
: P2 (vote)
: 3.x
Assigned To: issues@platform
Depends on:
  Show dependency treegraph
Reported: 2002-03-30 03:35 UTC by John Baker
Modified: 2008-12-22 22:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2002-03-30 03:35:08 UTC
Using Orion 020329 kit, JDK 1.4.0, Windows 2000

To reproduce:

1) View the Explorer
2) Mount a filesystem

The "New Wizard - Local Directory" dialog opens by viewing 
the "My Documents" folder.

3) 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.
Comment 1 John Baker 2002-03-30 03:42:51 UTC
Added SPACE_IN_PATH keyword

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.
Comment 2 _ ttran 2002-03-30 23:08:11 UTC
I didn't try it myself, but from what you described I understand that
you are trying to create a new folder in the JFileChooser component. 
That component comes from Swing, we just use it.  If it fails to
create a new folder, then please file bug against JDK.  We cannot fix
it from outside Swing.
Comment 3 John Baker 2002-04-02 02:35:52 UTC
Bug was entered against JDK

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo