changeset 6164:009fd6e1d9f5

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 bd175c70684c
children 4aad3e6f68d2
files src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java	Tue Dec 04 15:56:02 2012 +0400
+++ b/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()));
         }
     }