JDK-8044402 : JFileChooser returns wrong value from getApproveButtonMnemonic function
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7u60,8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2014-05-30
  • Updated: 2016-08-02
  • Resolved: 2015-09-22
Related Reports
Relates :  
Description
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).
22-09-2015

RULE Swing_JFileChooser/Automated/JFileChooserButtonMnemonic ExitCode 1
18-08-2014

Swing_JFileChooser/Automated/JFileChooserButtonMnemonic
01-08-2014

Reproduced on JDK 8 u20 b16 and JDK9 ea b16
11-06-2014

is it reproducible on 8 / 9 ?
11-06-2014

Reproducible with 7 u60 and with 7 u65
11-06-2014

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
30-05-2014