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

Provide a means to visit the AWT event queue

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P5
    • None
    • 6
    • client-libs
    • x86
    • 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

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

              Dates

                Created:
                Updated:
                Imported:
                Indexed: