score:0

Accepted answer

Okay, so the error was originating in the fact that my JList did not have a type parameter specified (it was generated by a GUI builder). I changed the declaration to:

JList<Category> // this particular file is a Java file

Now everything works.


Related Query

More Query from same tag