I have one JComboBox and i have ms access database with two tables. i used sql query to populate the jcombobox with the specific column values from database but when i click on jcombobox query executed every time and jcombobox populate again with the same values so if i have 4 values in column then after clicking on several times it increases the jcombobox items but i also manage to figure this out by using removeAllItem() method in popup invisible event but here problem occurs. When i click on combobox it shows items but when i try to select item then the item can't selected. Why? Anybody knows how to fix this problem. Any suggestion and help is greatly appreciated!!! Thanks!!! :)
You've likely got a bug somewhere in your code.