I have added a JList to the GUI of my application. When running the project I received the error, 'Cannot find symbol' with, 'setListData' underlined. here's the code:
private void displayGroup()
Collection<Team> teams = football.getTeams();
I have followed an example from a textbook, so I'm curious what error has been made here.