private void populateList() {
        //go through project and add classes to list.
        ProjectAdapter project = App.getProject();
        Iterator it = project.getClasses();
        while (it.hasNext() == true) {
            ProjectClass field = (ProjectClass) it.next();
            listModel.addElement(field.toString());
        }
    }