public void actionPerformed(ActionEvent e)
    {
      if (e.getSource() == toggleButton)
      {
        if(reportPanel.equals(courseReportPanel)) {
          middleLeftPanel.remove(reportPanel);
          middleRightPanel.remove(detailsPanel);
          reportPanel = instructorReportPanel;
          middleLeftPanel.add(reportPanel);
          constraints.weightx = 0.4;
          constraints.weighty = 0.6;
          constraints.gridx = 1;
          constraints.gridy = 0;
          detailsPanel.setBorder(BorderFactory.createLineBorder(Color.black));
          middleRightPanel.add(detailsPanel, BorderLayout.CENTER);
          middleLeftPanel.revalidate();
          middleRightPanel.revalidate();
          toggleButton.setText("Courses");
          repaint();
        }
        else {
          middleLeftPanel.remove(reportPanel);
          middleRightPanel.remove(detailsPanel);
          reportPanel = courseReportPanel;
          middleLeftPanel.add(reportPanel);
          constraints.weightx = 0.4;
          constraints.weighty = 0.6;
          constraints.gridx = 1;
          constraints.gridy = 0;
          detailsPanel.setBorder(BorderFactory.createLineBorder(Color.black));
          middleRightPanel.add(detailsPanel, BorderLayout.CENTER);
          middleLeftPanel.revalidate();
          middleRightPanel.revalidate();
          toggleButton.setText("Instructors");
          repaint();
        }
      }
      if (e.getSource() == reportButton) {
          ReportSelectionWindow r = new ReportSelectionWindow(courseAssignment);
      }
      if (e.getSource() == assignButton) {
          if(round == 1) {
              courseAssignment.assignCourses();
              instructorReportPanel.updateList();
              courseReportPanel.updateList();
              assignButton.setText("Round 2");
              round = 2;
          }
          else if(round == 2) {
              courseAssignment.assignCourses();
              instructorReportPanel.updateList();
              courseReportPanel.updateList();
              assignButton.setText("Round 3");
              round = 3;
          }
          else if(round == 3) {
              courseAssignment.assignCourses();
              instructorReportPanel.updateList();
              courseReportPanel.updateList();
              assignButton.setText("Done");
              assignButton.setEnabled(false);
              round = 4;
          }
      }
    }