JCombo Box selection index?
If I have JCombo Box with items like "ABC", "XYZ" and "ABC" at 1,2, and 3 index respectively. If I click any of them, then it is supposed to display the respective table.
But if I Click "ABC" of 3rd index then combo box returns the index of first found item, and so table of 1st item. In this way, I'll never get table of "ABC" at 3rd index.
I don't want to add id(which is unique) of each item to combo box so that each item would be unique.
How to overcome this problem?