JDK-4308587 : JButton.setMnemonic(Russian key code or char) doesn't properly work
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2000-01-31
  • Updated: 2001-12-07
  • Resolved: 2001-12-07
Related Reports
Duplicate :  
Description

Name: skT88420			Date: 01/31/2000


java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

... and of course all earlier versions of JDK


JButon but = new JButton(<Russian string>);
but.addActionListener(new ActionListener() {
  public void actionPerformed(ActionEvent e) { // some action
});
but.setMnemonic(<Russian char or key code of char from the string>);

  'actionPerformed' is not invoked when one press <Alt + corresponding char> !
(Review ID: 100555) 
======================================================================

Comments
EVALUATION duplicate of 4239028. ###@###.### 2001-12-07
07-12-2001