I want to add employee name from database to combobox
and i am using the coding
while(rs.next())
combobox.addItem(rs.getString("Emp_name"));
but the combobox appears consisting elements as Item1,Item2,Item3...and so on
how I can add employees names in combobox