void () { if (ApplicationManager.getApplication().isDispatchThread()) { boolean localTarget = DataManager.getInstance().getDataContext(myWholePanel) .getData(SingleConfigurationConfigurable.RUN_ON_TARGET_NAME_KEY) == null; myJrePathEditor.setVisible(localTarget); } }