-
Bug
-
Resolution: Fixed
-
P3
-
8u40, 9
-
b68
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8098724 | emb-9 | Alexey Ivanov | P3 | Resolved | Fixed | team |
JDK-8086935 | 8u65 | Alexey Ivanov | P3 | Resolved | Fixed | b01 |
JDK-8080764 | 8u60 | Alexey Ivanov | P3 | Resolved | Fixed | b18 |
JDK-8138014 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8086216 | emb-8u60 | Alexey Ivanov | P3 | Resolved | Fixed | team |
JDK-8172649 | openjdk7u | Alexey Ivanov | P3 | Resolved | Fixed | master |
Mnemonics in JFileChooser were removed in Metal Look-and-Feel under
Further, mnemonics were removed with the fix for
Steps to reproduce:
1. Run SwingSet2: java -jar SwingSet2.jar
2. Open JFileChooser demo, the fifth icon.
3. Click Show Plain JFileChooser button. The should be no mnemonic on Open button in both cases where a file is selected and where a directory is selected.
The test applies to all Look-and-Feels. In Windows LaF, you need to press and hold Alt button to see mnemonics.
To change locale, pass -Duser.language possibly with -Duser.country. For example,
java -Duser.language=es -jar SwingSet2.jar
java -Duser.language=zh -Duser.country=CN -jar SwingSet2.jar
Will launch SwingSet2 with Spanish and Chinese (China) UI language correspondingly. SwingSet is not localized but JFileChooser is.
Alternatively, run the attached FileChooserMnemonics.java to get the list of mnemonic keys in different locales and Look-and-Feels. If there are no mnemonics, you'll see only the list of Look-and-Feels and locales that were tested – it is the expected result. If you see any key, for example "FileChooser.directoryOpenButtonMnemonic = 79" then localization resources need updating.
- backported by
-
JDK-8080764 No mnemonics on Open and Save buttons in JFileChooser
-
- Resolved
-
-
JDK-8086216 No mnemonics on Open and Save buttons in JFileChooser
-
- Resolved
-
-
JDK-8086935 No mnemonics on Open and Save buttons in JFileChooser
-
- Resolved
-
-
JDK-8098724 No mnemonics on Open and Save buttons in JFileChooser
-
- Resolved
-
-
JDK-8138014 No mnemonics on Open and Save buttons in JFileChooser
-
- Resolved
-
-
JDK-8172649 No mnemonics on Open and Save buttons in JFileChooser
-
- Resolved
-
- relates to
-
JDK-8042835 Unexpected mnemonic in JFileChooser
-
- Resolved
-
-
JDK-8087110 [TESTBUG] Test javax/swing/JFileChooser/8002077/bug8002077.java fails
-
- Resolved
-
-
JDK-7045184 GTK L&F doesn't have hotkeys in jdk7 b141, while b139 has.
-
- Closed
-
-
JDK-8044402 JFileChooser returns wrong value from getApproveButtonMnemonic function
-
- Closed
-
-
JDK-8059177 jdk8u40 l10n resource file translation update 1
-
- Closed
-
-
JDK-7174970 NLS: [ccjk] Extra mnemonic keys at standard filechooserdialog (open and save) in metal L&F
-
- Closed
-
-
JDK-8081507 Open or Save button in JFileChooser has OK title in GTK LaF
-
- Resolved
-