This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21993 - Unable to create a new folder in a directory that contains a space
Summary: Unable to create a new folder in a directory that contains a space
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords: SPACE_IN_PATH
Depends on:
Blocks:
 
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
Exception Reporter:


Attachments

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
http://swir.central/SSIR_Dept/BIN/printbug.cgi?4661130