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

Provide a means to visit the AWT event queue

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Imported:
                Indexed: