Do you mean to say that sae.getClassAdmitted() returns a char value '2' and that the combo box contains Character objects, one of which contains that value? Or did you mean something else when you put the single quotes around the 2?
Joined: Jun 05, 2010
Sorry, my fault
Actually combo box contains String objects, and the value returned by sae.getClassAdmitted() is of String type, i.e "2".