I have a JCombobox whose content is populated this way:
List<MyClass> l = getList();
for(MyClass ll : l)
combo.addItem(ll.toString());
combo.setSelectedIndex(0);
Everything's ok till I click on combo in order to show item list: when I click selected item disappears (but list appears) when I select an item on list whole combobox disappears!! Why?