@Override
	public Object getValueAt(int x, int y) {
		Course c = courses.get(x);
		switch(y){
		case 0 : return c.getName();
		case 1 : return c.getCode();
		case 2 : return c.getTimeBlock().getDay();
		
		case 3 : TimeBlock time = c.getTimeBlock();
			return time.getBeginTime() + " - " + time.getEndTime();
		case 4 : return c.getInstructor().getName();
		case 5 : return  c.getInstructor().getID();
		case 6 : return c.getNotes();
		case 7 : return c.getPriority();
		case 8 : return c.getInstructor().isAdjunct();
		
		}
		return "";
	}