system.util.invokeLater(function [, delay])
PyObject function - A Python function object that will be invoked later, on the GUI, or event-dispatch, thread with no arguments.
int delay - A delay, in milliseconds, to wait before the function is invoked. The default is 0, which means it will be invoked after all currently pending events are processed. [optional]