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

key codes for Alt-Left, Alt-Right differs between JDK 1.3 / JDK 1.4

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      x86
    • OS:
      linux_2.4
    • Verification:
      Verified

      Description

      JDK 1.4.0-beta-b63, Linux RH 6.2, kernel 2.4.1

      Keyboard keys Alt-Left, Alt-Right generate different KeyStroke from JDK 1.3.
      1.4: "Meta+AltLeft-P", "Meta+AltRight-P"
      1.3: "AltLeft-P", "AltRight-P"

      In addition it is necessary release Alt key before new KeyStroke is generated. When holding Alt key, only first key event arrives, other key presses while holding Alt key generate no key event, which is different from 1.3

      More info: In Netbeans IDE we use subclass of javax.swing.FocusManager to generate our internal actions NextTab, PreviousTab when user presses Alt-Left, Alt-Right. However we get different keystrokes in 1.4 as described above.

      Steps to reproduce: Use dev latest build (current build is 184) of Netbeans IDE from http://www.netbeans.org/downloads.html
      1.Start IDE.
      2.Select Explorer frame.
      3.Press Alt-Left or Alt-Right. It should switch to another tab in Explorer,
      it does in 1.3.0 but not in 1.4.0.

        Attachments

          Activity

            People

            • Assignee:
              uwesunw Uwe Uwe (Inactive)
              Reporter:
              dsimoneksunw David Simonek (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: