irregular mnemonic resource implementation

XMLWordPrintable

    • b78
    • 6
    • b85
    • generic
    • generic
    • Verified

      j2se/src/share/classes/sun/tools/jconsole/resources/JConsoleResources.java
                    :
               {"Connect", "Connect", 'C'},
                    :
               {"Password: ", "Password: ", 'P'},

      It seems that the third element above means the mnemonic character but
      the mnemonic implementation using ListResourceBundle should be commonly
      expected the key-value pairs like below.

                    :
               {"jconsole.connect", "Connect"},
               {"jconsole.connect.mnemonic", new Integer(KeyEvent.VK_C)},
                    :
               {"jconsole.password", "Password: "},
               {"jconsole.password.mnemonic", new Integer(KeyEvent.VK_P)},

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: