8002077: Possible mnemonic issue on JFileChooser Save button on nimbus L&F
authoralexsch
Tue, 04 Dec 2012 16:42:19 +0400
changeset 14657 35542ae38486
parent 14656 6d8446e5b460
child 14658 67661687f722
8002077: Possible mnemonic issue on JFileChooser Save button on nimbus L&F Reviewed-by: serb
jdk/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java
--- a/jdk/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java	Tue Dec 04 15:56:02 2012 +0400
+++ b/jdk/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java	Tue Dec 04 16:42:19 2012 +0400
@@ -256,6 +256,7 @@
         if (getFileChooser().getControlButtonsAreShown()) {
             approveButton.setText(getApproveButtonText(getFileChooser()));
             approveButton.setToolTipText(getApproveButtonToolTipText(getFileChooser()));
+            approveButton.setMnemonic(getApproveButtonMnemonic(getFileChooser()));
         }
     }