Am using the following java program for Autosuggestion combobox with retrieve the values from mysql database.the Auto Suggestion working properly.If i type 'A' in the combobox means the list will show the all names starting with 'A'.i add the label in that form.If i select the one name in combo box means the corresponding Id will display in the Label. My problem is i have the four names with starting 'A' in my Sql database table,if I select that 'A' starting name that will show correct Id.but I clear the combobox text column and type 'B' means it show the all name starting with 'B' but it I click the "B" started name it can't display the correct ID,It display the ID for 'A' starting name.because I get the Id using getSelectedIndex().how to get the correct ID for all names in auto suggest combobox?Am using the following java program for Autosug