private void setFields()
  {
      
   
   if(thisCourse.getInstructor() != null)
       instructor =  new JLabel("Instructor: " + thisCourse.getInstructor());      
   else 
       instructor = new JLabel("Instructor: N/A");
   
   dayList = "";
//   if(thisCourse.getDays() != null) {
   for (Day d:thisCourse.getDays())
   {
     dayList += d.toString() + " ";
   }
//   }
   
   id = new JLabel("ID: " + thisCourse.getId());
   workArea =  new JLabel("Workarea: " + thisCourse.getWorkArea());
  
   day =  new JLabel("Day: " + dayList);
   start =  new JLabel("Start: " + thisCourse.getStart());
   end =  new JLabel("End: " + thisCourse.getEnd());
   number =  new JLabel("Class Code: " + thisCourse.getClassCode().toString());
   section =  new JLabel("Section: " + thisCourse.getSection());
   title =  new JLabel("Title: " + thisCourse.getTitle());
   campus =  new JLabel("Campus: "+ thisCourse.getCampus());
   
   if(thisCourse.getLab() != null)
   {
       
   labPanel = new JPanel();
   lab = thisCourse.getLab();
   idLab = new JLabel("Id: " + lab.getId());
   startLab = new JLabel("Start: " + lab.getStart());
   endLab =  new JLabel("End: " + lab.getEnd());
   sectionLab = new JLabel("Secton: " + lab.getSection());
   
   
   dayListLab = "";
   if(lab.getDays() != null) {
   for (Day d:lab.getDays())
   {
     dayListLab += d.toString() + " ";
   }
   }
   else 
       lab = null;
   }
   dayLab = new JLabel("Days: " + dayListLab);
  }