JDK-4246145 : FileChooser should set focus to the New Folder when created.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-06-12
  • Updated: 1999-09-20
  • Resolved: 1999-09-20
Related Reports
Duplicate :  
Description

Name: krT82822			Date: 06/12/99


When using the FileChooser Dialog recently I decided to create a 
'new folder' in my C: root directory. I clicked the 'new folder' 
button on the FileChooser dialog but saw nothing happen. I did 
this several times, and still nothing. I finally realized that 
with all the directories at my c:\ directory that 'New Folder' 
was below the list showing on the dialog (alphabetical order). I 
had over 10 ?new directory? enteries to delete when I finally 
searched the list and found them.

Suggestion: force focus to the "New Folder" subdirectory entry.
(Review ID: 53408) 
======================================================================

Comments
EVALUATION The code file chooser code is already doing what the description suggests it should: it requests that the directy be scrolled down to. The problem is that the list of files is asynchronously being rescanned, and the New Folder isn't always showing up in the list by the time that the call to list.ensureIndexIsVisible gets called. What is really needed is a way to know when the rescan is donw, which will require some minor but new api in BasicDirectoryPane.
11-06-2004

WORK AROUND Name: krT82822 Date: 06/12/99 None ======================================================================
11-06-2004