void (final Runnable runnable) { clear(); myAlarm.addRequest(() -> { if (myRunState && myInitialize && !myDesigner.isProjectClosed()) { runnable.run(); } }, myDelayMillis, ModalityState.stateForComponent(myDesigner)); }