String (ComboBox<JrePathEditor.JreComboBoxItem> component) { JrePathEditor.JreComboBoxItem item = component.isEditable() ? component.getItem() : (JrePathEditor.JreComboBoxItem)component.getEditor().getItem(); return item != null ? item.getPresentableText() : ""; }