-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2, 6
-
b30
-
x86
-
windows_xp, windows_vista
-
Not verified
Name: gm110360 Date: 04/21/2004
FULL PRODUCT VERSION :
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
Button "Open" is a default buttin in native file chooser dialog under Windows XP. But Swing JFileChooser has no default button at all. So it looks and feels different under Windows than native applications.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Open any JFileChooser. For example run java -jar FileChooserDemo.jar.
2. Switch to Windows LAF.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"Open" button should be a default one
ACTUAL -
There is no default button
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 226180)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
Button "Open" is a default buttin in native file chooser dialog under Windows XP. But Swing JFileChooser has no default button at all. So it looks and feels different under Windows than native applications.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Open any JFileChooser. For example run java -jar FileChooserDemo.jar.
2. Switch to Windows LAF.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"Open" button should be a default one
ACTUAL -
There is no default button
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 226180)
======================================================================
- duplicates
-
JDK-6628461 ENTER doesn't cancel FileChooser when Cancel button has focus
-
- Closed
-
- relates to
-
JDK-8021253 JFileChooser does not react on pressing enter since java 7
-
- Resolved
-
-
JDK-6631025 Default button doesn't work correctly in MetalLAF
-
- Closed
-