changeset 5533:3521122a0281

8002077: Possible mnemonic issue on JFileChooser Save button on nimbus L&F Reviewed-by: serb
author alexsch
date Fri, 07 Dec 2012 13:49:14 +0400
parents b490b3dce2e2
children fa4c5ccae790
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	Fri Nov 30 08:17:02 2012 +0100
+++ b/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUI.java	Fri Dec 07 13:49:14 2012 +0400
@@ -256,6 +256,7 @@
         if (getFileChooser().getControlButtonsAreShown()) {
             approveButton.setText(getApproveButtonText(getFileChooser()));
             approveButton.setToolTipText(getApproveButtonToolTipText(getFileChooser()));
+            approveButton.setMnemonic(getApproveButtonMnemonic(getFileChooser()));
         }
     }