-
Enhancement
-
Resolution: Cannot Reproduce
-
P5
-
None
-
1.4.0
-
x86
-
windows_2000
Name: jk109818 Date: 05/02/2002
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
When the JFileChooser "New Folder" button is selected
under the Windows LAF, the new folder created is selected
and editable, ready to type the new name. Under the Metal
LAF, it is selected but not editable. I think it is more
useable when it is editable - otherwise users of the Metal
LAF don't understand how to change the name.
Also see bug #4252279.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run the attached application with and without the java
option -
Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLoo
kAndFeel
2. Select the "New Folder" button
EXPECTED VERSUS ACTUAL BEHAVIOR :
Under the Windows LAF, the new folder is immediately
editable. Under Metal it is selected but not in editing
mode.
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class Chooser {
public static void main(String args[]) {
new JFileChooser().showOpenDialog(null);
System.exit(0);
}
}
---------- END SOURCE ----------
(Review ID: 146136)
======================================================================
- relates to
-
JDK-4887433 JFileChooser UI code needs refactoring
-
- Resolved
-