|
Quick Lists
|
|
Bug ID:
|
5013564
|
|
Votes
|
0
|
|
Synopsis
|
Win L&F: Cancel button in JFileChooser dialog should not have mnemonic
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
1.4.1
|
|
Release Fixed
|
mustang(b60),
5.0u7(b01) (Bug ID:2131466)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
15-MAR-2004
|
|
Description
|
For normal customer Windows applications, the cancel button has no mnemonic. This is because "cancel" is usually handled by the escape key as opposed to a mnemonic.
Likewise, "OK" has no mnemonic because it is the default button and handled by the enter key.
======================================================================
Posted Date : 2005-09-12 19:43:49.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
I agree. The native Windows JFileChooser has no mnemonic. I recently turned down adding mnemonics to the JColorChooser's OK and Cancel buttons for the same reasons given in the description. These mnemonics should be removed from JFileChooser.
xxxxx@xxxxx 2004-03-16
======================================================================
Posted Date : 2005-09-12 23:05:02.0
The cancel button in the JFileChooser when running on Windows has a mnemonic. You can't see it by default but it's there when you hold down the Alt key. Native Windows apps don't have a mnemonic on the cancel button because the Escape key is always mapped to cancel on most any dialog. To fix this I have added a line to the windows.properties which sets the cancel button mnemonic to -1, which will remove the mnemonic at runtime.
Posted Date : 2005-09-12 23:05:03.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |