void () { MavenArchetype sel = getSelectedArchetype(); String desc = sel == null ? null : sel.description; if (StringUtil.isEmptyOrSpaces(desc)) { myArchetypeDescriptionScrollPane.setVisible(false); } else { myArchetypeDescriptionScrollPane.setVisible(true); myArchetypeDescriptionField.setText(desc); } }