void () { if (isScheduledUpdateCalled.compareAndSet(false, true)) { EdtExecutorService.getScheduledExecutorInstance().schedule(() -> { isScheduledUpdateCalled.set(false); updateInEdt(); }, SCHEDULED_UPDATE_DELAY, TimeUnit.MILLISECONDS); } }