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

AbstractionButton.setMnemonic(int)'s behavior is different from API Doc.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.2.2, 1.4.0
    • client-libs
    • None
    • hopper
    • generic
    • generic
    • Verified

      The following description has been added for AbstractButton.setMnemonic(int)
      in JDK1.4 doc.
      However, if the mnemonic is not found in the label, the mnemonic isn't
      displayed. This should be implemented properly.

      > If the character defined by the mnemonic is found within
      > the button's label string, the first occurrence of it will
      > be underlined to indicate the mnemonic to the user. If the
      > corresponding character is not contained within the button's
      > label, then it will be displayed near the label in a look
      > and feel dependent manner (commonly to the right, surrounded
      > by parenthesis).

            shickeysunw Shannon Hickey (Inactive)
            peytoia Yuka Kamiya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: