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

Provide a means to visit the AWT event queue

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 6
    • client-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Sometimes an application needs to know if there are some specific events
      present in the AWT event queue. This occurs mainly in event listeners.
      Currently, it is only possible to access the event on top of the queue, or to
      get the first event with a given ID. If the application is interested in events
      of several IDs, and gets them, it has no way to determine which is first.
      Timestamp is not present in all events.
      What is needed is an iterator that allows an application to scan the event
      queue.

      JUSTIFICATION :
      This enhancement is necessary when an application wants to determine
      if upon window activation some mouse buttons are pressed.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Have an EventQueue method that delivers an iterator that can be used
      to scan the queue.
      ACTUAL -
      No such method is present.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: