Class StudentsList

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class StudentsList extends JPanel
A StudentsList is a JList that lists all of the students in a GradeBook sorted alphabetically by their last name.
See Also:
  • Constructor Details

    • StudentsList

      public StudentsList()
      Creates a StudentsList and sets up some initial parameters.
  • Method Details

    • setGradeBook

      public void setGradeBook(GradeBook book)
      Reads the contents of a GradeBook and sorts Students accordingly.
    • main

      public static void main(String[] args)
      Test program that reads a grade book from an XML file and displays the students in it using a StudentsList.