I have a table in database employee composed by two columns ID and NameLastName.
I arrived to add data in the second column to a JComboBox like in the snapshot down!

Now how can I do to delete the selected employee in the JComboBox from DB?
I thought to add the ID with name like this I122-Name and use split method to extract the ID but I don’t want to show the ID.
Is there any way to associate with each name in the JComboBox a hidden value that contains the employee ID?
This question has already received 2 good answers, but I wanted to add this 3rd one if only to address the question of whether to show the ID (which was not part of the question, but should have been).
Screen Shot
Which John Smith are you going to fire?
SackEmployee.java
E.G. I/O