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

No way to determine if all buttons up when MOUSE_RELEASE occurs.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.2.0
    • client-libs
    • generic
    • generic



      Name: dbT83986 Date: 12/17/98


      In trying to do some user interface functionality that is a
      bit more fancy than the norm, I've come up against a
      problem without an apparent workaround. When a MOUSE_PRESSED
      or MOUSE_RELEASED event occurs there is no way to determine
      the *state* of the buttons. All it tells you is the state change
      of the buttons. This makes it impossible to detrmine, say, if
      all the mouse buttons are now "up" or "down" as a result of the
      button change. Of course you can wait until
      a subsequent event like a mouse move to determine absolute mouse
      button state but this is unacceptable in most user interface
      situations.
      (Review ID: 48116)
      ======================================================================

            bchristi Brent Christian
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: