JDK-5088532 : JFileChooser: Focus missing in NewFolder after CreateNewFolder button is clicked
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-08-18
  • Updated: 2022-10-27
  • Resolved: 2022-10-27
Related Reports
Relates :  
Description
Bug Description:
----------------
The Focus is missing in "NewFolder" when "Create New Folder" button clicked in JFileChooser in Detail View mode for renaming the NewFolder.

JDK-Info:
---------
java version "1.5.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)

Steps to reproduce:
-------------------
1. Install jre1.5.0 b63 in Solaris9 Gnome.
2. Launch SwingSet2 demo located in demo folder in jdk
3. Click "JFileChooser Demo" button in ToolBar.
4. Click "Show Plain JFileChooser" button in the Frame.
5. In JFileChooser dialog move the focus to "Create New Folder" button using tab key in keyboard.

new folder will appear with "NewFolder" name but the focus will be still in "Create New Folder" button,in this scenario user will not be able to edit the NewFolder name unless user move the focus to NewFolder using tab key or by mouse.

The focus is working in "List" mode when new "Create New Folder" button is clicked.

###@###.### 2004-08-18

Comments
EVALUATION We need to fix focus transfer to be consistent. ###@###.### 2004-08-20
20-08-2004