Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4239028

setMnemonic(char) must support non-english characters

XMLWordPrintable

    • x86
    • windows_nt, windows_xp

      Name: krT82822 Date: 05/17/99


      this button doesn't work properly:

      ...
      JButton button1 = new JButton("Button with russian char '?'!");
      button1.setMnemonic('?'); //same char
      button1.addActionListener(
          new ActionListener() {
              public void actionPerformed(ActionEvent e) {
                  System.out.println("Button clicked!");
              }
          }
      );
      ...
      (Review ID: 54577)
      ======================================================================

            Unassigned Unassigned
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: