} catch (IOException e) {
e.printStackTrace();
}
if(edt == null)
edt = new EventDispatcher(new SingleWorkerPool());
if(toolkitEventWorker == null) {
toolkitEventWorker = new EventDispatchWorker();
toolkitEventWorker.setEnabled(true);
edt.registerEventHandler(eventHandler, toolkitEventWorker);