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

setMnemonic(char) must support non-english characters

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt, windows_xp

      Description

      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)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Imported:
                Indexed: