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

Can't set MenuShortcuts using function key (VK_F1...F12) and other key codes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.1, 1.1.4, 1.1.5, 1.2.0, 1.2.2, 1.3.0
    • client-libs
    • beta
    • generic, x86
    • generic, windows_nt

      orig synopsis: "KeyEvent.getKeyText returns wrong text"

      Name: mc57594 Date: 02/25/97


      When you add a MenuShortcut to a
      MenuItem, the displayed shortcut text is not always
      correct. I tried using KeyEvent.VK_F9, and the
      string said Ctrl-X (ASCII-x matches the keycode for VK_F9),
      so the code in KeyEvent.getKeyText gets them mixed up.
      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: