public void filter(String column, String by) {
		if (by.equals("")) {
			this.isFiltered = false;
		} else {
			this.isFiltered = true;
			this.filteredClassesSet = new ResourceSet();
			switch (column) {
			case "Class Name":
				for (Resource r : this.classesSet) {
					Class c = (Class) r;
					if (c.getClassName().contains(by)) {
						this.filteredClassesSet.add(c);
					}
				}
				break;
			case "Year":
				for (Resource r : this.classesSet) {
					Class c = (Class) r;
					if (Integer.toString(c.getYear()).equals(by)) {
						this.filteredClassesSet.add(c);
					}
				}
				break;
			}
		}
		this.refreshClassTable();
		this.classesModel.fireTableDataChanged();
	}