HI,
Which is the correct way to get the value from a JComboBox as a String and why is it the correct way. Thanks.
String x = JComboBox.getSelectedItem().
Don't cast unless you must. There's nothign wrong with calling toString().