static JComboBox jcomboboxFromConcepts_str(Class cc) { ret jcomboboxFromConcepts_str(db_mainConcepts(), cc); } static JComboBox jcomboboxFromConcepts_str(Concepts concepts, Class cc, Concept selected default null) { L items = ll(""); S selectedItem = null; for (Concept c : list(concepts, cc)) { S item = c.id + " - " + c; if (c == selected) selectedItem = item; items.add(item); } ret jcombobox(items, selectedItem); }