JDK-6244822 : Behavior JFileChooser on New Folder Button click is unlike native
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-03-23
  • Updated: 2011-02-16
  • Resolved: 2007-04-23
Related Reports
Duplicate :  
Description
Behavior JFileChooser on New Folder Button click is unlike native.

Steps to reproduce:
-------------------
1) Open SwingSet2, change the look and feel to Windows. 
2) Go to JFileChooser Demo.
3) Open Plain File Chooser. 
4) Click on the New Folder button
5) Notice that the new Folder is created with editable text. This new folder created is not shown at the end of the list unlike native FileChooser. Where as if you do same on native the new folder is created at the last of the list. 
Please see the two attached images. 
Java_FileChooser.jpg
Native_FileChooser.jpg
###@###.### 2005-03-23 13:18:37 GMT

Comments
EVALUATION This may be fixable once a new sorting mechanism is in place for JFileChooser. Defer to a later release. ###@###.### 2005-04-18 22:35:23 GMT
18-04-2005