JDK-4847375 : JFileChooser Create New Folder button is disabled incorrectly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.1,1.4.2,5.0,6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-04-11
  • Updated: 2007-09-12
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b20Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
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
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
11-11-2004

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
25-09-2004