Java java.awt EventQueue fields, constructors, methods, implement or subclass

Example usage for Java java.awt EventQueue fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt EventQueue.

The text is from its open source code.

Subclass

java.awt.EventQueue has subclasses.
Click this link to see all its subclasses.

Method

AWTEventgetCurrentEvent()
Returns the event currently being dispatched by the EventQueue associated with the calling thread.
longgetMostRecentEventTime()
Returns the timestamp of the most recent event that had a timestamp, and that was dispatched from the EventQueue associated with the calling thread.
AWTEventgetNextEvent()
Removes an event from the EventQueue and returns it.
voidinvokeAndWait(Runnable runnable)
Causes runnable to have its run method called in the #isDispatchThread dispatch thread of Toolkit#getSystemEventQueue the system EventQueue .
voidinvokeLater(Runnable runnable)
Causes runnable to have its run method called in the #isDispatchThread dispatch thread of Toolkit#getSystemEventQueue the system EventQueue .
booleanisDispatchThread()
Returns true if the calling thread is Toolkit#getSystemEventQueue the current AWT EventQueue 's dispatch thread.
AWTEventpeekEvent()
Returns the first event on the EventQueue without removing it.
voidpostEvent(AWTEvent theEvent)
Posts a 1.1-style event to the EventQueue .
voidpush(EventQueue newEventQueue)
Replaces the existing EventQueue with the specified one.