void (ActionEvent e) { final boolean addProperties = myIntelliJPropertiesCb.isSelected() || myStandardPropertiesCb.isSelected(); setLanguagePanelEnabled(addProperties); myCommentProperties.setEnabled(addProperties); }