I'd like to define a Swing combobox model as follows:
public class SchemaGroupModel<E> extends AbstractListModel<E> implements ComboBoxModel<E>
but Eclipse raises the error (twice):
The type AbstractListModel is not generic; it cannot be parameterized with arguments <E>
I checked here (raw type definition), here (old JDKs) and here (position of JDK library in the Java Build path). From these replies I guess that the problem should be the version of the JDK or its position in the IDE's libraries. But I doubled checked: I'm using JDK 1.6 and such library comes before Maven dependencies.
What am I doing wrong?