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

Can't distinguish between left & right alt

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.1.6, 1.2.0, 1.3.0
    • client-libs
    • beta
    • generic, x86
    • generic, windows_95



      Name: mf23781 Date: 01/03/2000


      User interfaces on existing platforms can distinguish between right and
      left modifier keys. To provide competitive interfaces in Java, access to
      this information must be provided. This can be done, while maintaining
      compability, by adding modifier constants to InputEvent for:

      RIGHT_ALT_MASK
      LEFT_ALT_MASK
      RIGHT_CTRL_MASK
      LEFT_CTRL_MASK
      RIGHT_SHIFT_MASK
      LEFT_SHIFT_MASK
      RIGHT_META_MASK
      LEFT_META_MASK

      If the right alt key is down, for example, then it sets both the
      RIGHT_ALT_MASK and the ALT_MASK. If the left alt key is down, it sets both
      the LEFT_ALT_MASK and the ALT_MASK. That maintains backwards compatibility,
      but lets developers detect the difference between right and left.
      (Review ID: 99523)

      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: