United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4847375 JFileChooser Create New Folder button is disabled incorrectly
JDK-4847375 : JFileChooser Create New Folder button is disabled incorrectly

Details
Type:
Bug
Submit Date:
2003-04-11
Status:
Closed
Updated Date:
2007-09-12
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
client-libs
OS:
windows_xp
Sub-Component:
javax.swing
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.1,1.4.2,5.0,6
Fixed Versions:

Related Reports
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
Name: jk109818			Date: 04/11/2003


FULL PRODUCT VERSION :
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
When using the JFileChooser, the 'Create New Folder' button is disabled when the user has navigated to:

1) The root of any drive
2) The user's 'My Documents' folder.
3) The Desktop

In all of these cases, the creation of a new folder should be allowed as it is in any other Windows application.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Create a JFileChooser
2. Navigate to the root of a drive.


EXPECTED VERSUS ACTUAL BEHAVIOR :
The 'Create New Folder' button should be enabled.
The 'Create New Folder' button is disabled.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
JFileChooser chooser = new JFileChooser();
chooser.showOpenDialog(parent);
---------- END SOURCE ----------
(Review ID: 182806) 
======================================================================

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang


                                     
2004-09-25
EVALUATION

This bug is caused by java.io bug 4939819, and depends on it being fixed.
Note: This bug should not be closed as a duplicate of that bug until after
verifying that it works as expected.

###@###.### 2004-11-11 21:21:40 GMT
                                     
2004-11-11



Hardware and Software, Engineered to Work Together