-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
When i set a model to my combobox, i can see the different values loaded (when i open the combo) but the size of items present on my combo is always 0...
In this way i cannot select an item (combobox.setSelectedIndex(0)
) because i get an error...
i.e:
cboWaehrModel = kreGeschForm.getWaehrModelLst();
ListModelList model = new ListModelList(cboWaehrModel);
cmbWaehr.setModel(model);
cmbWaehr.setSelectedIndex(0);
note that when i will open combo i get 100 items... so item0 exist.
hello apiarra! I think the link it has an answer to your problem: combobox setSelectedIndex problem