Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
https://bugs.openjdk.java.net/show_bug.cgi?id=100153 Shortly: "Generify" JComboBox, along with: ComboBoxModel, DefaultComboBoxModel and MutableComboBoxModel Below is an extract from letter written by ###@###.### -------------- But is there a reason why javax.swing.ListModel was generified, but not its sub-interfaces like ComboBoxModel? This "type swallowing" actually caused non-fixable compiler errors in Scala, where the scala-swing package can't be built anymore against the Java 7 code base. The relevant bug ticket in Scala's trac is https://lampsvn.epfl.ch/trac/scala/ticket/3634 ----------
|