JList and DefaultListModel cannot be generic

JList<String> yields error on java 6