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

ActionEvents (and other events) need timestamps

XMLWordPrintable

    • beta2
    • generic, x86
    • generic, windows_nt

      if in EventDispatchThread we are processing a ActionEvent
      the EventQueue.getDispatchingEventTime returns current system time.
      it's possible that this time value is greater than the timestamp of
      KeyEvents posted later than the ActionEvent being dispatched.
      so if we use this time value to call
      DefaultKeyboardFocusManager.enqueueKeyEvents
      we might not get the desired behavior(hold any keyEvent which is
      posted after the current event)

      tao.ma@Eng 2001-04-04

            dmendenhsunw David Mendenhall (Inactive)
            tmasunw Tao Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: