void () { getKeyTextField().setText(suggestPropertyKey(myDefaultPropertyValue)); final @NotNull List<IProperty> existingValueKeys = getExistingProperties(myDefaultPropertyValue); if (!existingValueKeys.isEmpty()) { for (IProperty key : existingValueKeys) { myExistingProperties.addItem(key); } myExistingProperties.setSelectedItem(existingValueKeys.get(0)); } myUseExistingPropertyRb.setEnabled(!existingValueKeys.isEmpty()); myValue.setText(escapeLineBreaks(myDefaultPropertyValue)); }