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

Javadoc for Action's MNEMONIC_KEY constant is not clear

XMLWordPrintable

    • b16
    • x86
    • linux_redhat_9.0

      Here's the current javadoc:

      ! * The key used for storing a <code>KeyEvent</code> to be used as
      ! * the mnemonic for the action.

      But we don't expect you to store a KeyEvent, rather an Integer corresponding to one of the VK_ codes defined in KeyEvent, eg new Integer(KeyEvent.VK_A);


            svioletsunw Scott Violet (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: