JFileChooser returns wrong value from getApproveButtonMnemonic function. Expected value is code for S for save mode and O code for open mode but function always return 0
Comments
JDK-8080628 No mnemonics on Open and Save buttons in JFileChooser http://mail.openjdk.java.net/pipermail/swing-dev/2015-May/004547.html
The mnemonics were removed because default buttons should not have them (JDK-5081721).
Please re-open within the answer on previous question
09-06-2014
Is it reproducible on 7u65? 7u60?
09-06-2014
Producttested: JDK 1.7 u66 b01
Reproducible on machine: local
Is it a Regression: No
Is it a platform specific issue: No
code takes same value from chooser UI object returns proper value. For example for Nimbus L&F code
>> SynthFileChooserUI fcui = (SynthFileChooserUI)chooser.getUI();
>> fcui.getApproveButtonMnemonic(chooser);
returns proper code