void (@NotNull final String errorMessage) { if (isObsolete()) return; EdtExecutorService.getInstance().execute(() -> { if (isObsolete()) return; if (myErrorMessage == null) { myErrorMessage = errorMessage; addFrameListElements(Collections.singletonList(errorMessage), true); myRunning = false; myListenersEnabled = true; } }); }