invokeLater(Runnable task) Runs the task synchronously if the current thread is the event thread; otherwise passes it to the
event thread to be run asynchronously after all events already on the queue have been processed.
Runs the task synchronously if the current thread is the event thread; otherwise passes it to the
event thread to be run asynchronously after all events already on the queue have been processed.