Switch to using Java 7, and clean up the compiler warnings around
JComboBox that result from the switch.