changeset 14657:35542ae38486

8002077: Possible mnemonic issue on JFileChooser Save button on nimbus L&F Reviewed-by: serb
author alexsch
date Tue, 04 Dec 2012 16:42:19 +0400
parents 6d8446e5b460
children 67661687f722
files jdk/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()));
         }
     }