void () { if (myShowPreview) { ReadAction .nonBlocking(() -> getI18nizedText()) .finishOnUiThread(ModalityState.stateForComponent(myPreviewLabel), (@NlsSafe String text) -> myPreviewLabel.setText(text)) .submit(myExecutorPool); } super.somethingChanged(); }