I'm not sure this definition is compatible with Java6. In Java 6, JComboBox does not accept type parameters.