Integer.parseInt(numList.getSelectedItem().toString()
The getSelectItem() method returns an Object. You get the error messeage (when you don't use the toString() method) because the parseInt() method is expecting a String.
So, I passed a String and the items in the list are now objects?
The Object still is a String, so you could do it this way:
Object selected = numList.getSelectedItem();
String selectedString = (String)selected;
Integer.parseInt( selectedString );