Hi,
I have a main JCombobox in which are stored some values. When a user clicks on a selection (jcbox.getSelectedItem()) in this JComboBox, two other JComboBoxes are to get some set of values.
The mystery is that I am able to set the values in the two other JComboxes, but the values are being repeated more than once. To counter this problem, I used the jcbox1.insertItemAt(<value>,<index>
method.
The second mystery is that on usage of such a command, the first value in the list does not appear on the JComboBox.
The third mystery is that when I select any value in the second or third JCombobox, it does not appear on the top of the JCombobox.
Please help!