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

Underline for shortcut in Swatches on ColorChooser is indicated at wrong place

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The underline for shortcut in Swatches tab on ColorChooser^Vplaces at ')' in ja locale
      even if it defines mnemonic char as 'S' and the localized string has mnemonic char 'S'.

      basic_ja.properties:
      ColorChooser.swatchesNameText=\u30b5\u30f3\u30d7\u30eb(S)
      ColorChooser.swatchesMnemonic=83
      ColorChooser.swatchesDisplayedMnemonicIndex=6

      It seems that the number of 'ColorChooser.swatchesDisplayedMnemonicIndex' is for
      displaying the underline for shortcut and it's not associated with mnemonic char
      defined in 'ColorChooser.swatchesMnemonic'. I think this implementation is very
      weird and the index of the location for underline does not need.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kurosaki Kenichi Kurosaki (Inactive)
              Reporter:
              kurosaki Kenichi Kurosaki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: