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

MouseEvent doc should explain target of MOUSE_RELEASED and MOUSE_CLICKED

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • infrastructure
    • x86
    • os_x

      A DESCRIPTION OF THE PROBLEM :
      The documentation for MouseEvent explains that MOUSE_DRAGGED events are delivered to the component in which the mouse button was pressed. It fails to explain the similar behavior of MOUSE_RELEASED and MOUSE_CLICKED events.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should explain that the MOUSE_RELEASED and MOUSE_CLICKED events are delivered to the component in which the mouse button was pressed, just as for MOUSE_DRAGGED.
      ACTUAL -
      No explanation is given.

      URL OF FAULTY DOCUMENTATION :
      http://docs.oracle.com/javase/7/docs/api/java/awt/event/MouseEvent.html

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: