Hello.
I have to access the collection elements located in the School class and display them in a JList in my SchoolChooser.
I think it has something to do with this method.
Java Code:
 public static Collection<School> getCollection() {
        return allSchools.values();
    }
Here is what i have so far. Basic, but i am new to java.
Java Code:
import javax.swing.JPanel;


public class SchoolChooser extends JPanel {

	private School[] schools;
	private Object callback;
	
	
	public SchoolChooser(Object callback) {
		super();

	}
}
Thanks.