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

Incorrect JButton selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: clC74495 Date: 02/23/99


      The JButton doesn't seem to be selected properly when mixed buttons
      are "pressed"...

      If I press left mouse button, then middle mouse button, then release middle
      mouse button, this triggers selection (notification of action listeners). Action
      listeners shouldn't be notified until left button is released.

      The BasicButtonListener.mouseReleased() needs to check for the left mouse
      button, just like mousePressed().

      See sample code in work around section.
      (Review ID: 54487)
      ======================================================================

            shickeysunw Shannon Hickey (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: