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

Provide method to determine mouse location

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • None
    • sparc
    • solaris_7

      A Component can listen for mouse changes via a MouseListener
      (or MouseMotionListener), but if the widget is reshaped there is no conveniant
      way to determine if the mouse is still inside the Component bounds,
      short of caching the location.
      As different components many need to track this state it would be nice
      if there were a method to determine the mouse location, perhaps on the
      Component level if we are worried about access to the mouse location.

            bchristi Brent Christian
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: