Removes generics from JList type to keep compatibility with java 6