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

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

XMLWordPrintable

    • beta2
    • generic
    • generic
    • Verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: