void () { super.doOKAction(); storeRecentImages(); String value = calcNewValue(); String prop = getSystemProp(); myResults.put(prop, value); if (value.startsWith(",")) value = null; boolean perProject = myThisProjectOnlyCb.isSelected(); PropertiesComponent.getInstance(myProject).setValue(prop, perProject ? value : null); if (!perProject) { PropertiesComponent.getInstance().setValue(prop, value); } repaintAllWindows(); }