@Override
		public Component getTreeCellRendererComponent(JTree tree, Object value,
				boolean selected, boolean expanded, boolean leaf, int row,
				boolean hasFocus) {
			CourseFilter filter = getFilterOut(value);
			if (filter != null)
				return prepareCheckbox(filter.getName(), filter.isActive(),
						selected);
			Object option = getDescOut(value);
			if (option != null) {
				filter = getFilterOut(((DefaultMutableTreeNode) value)
						.getParent());
				if (filter != null) {
					return prepareCheckbox(filter.getDescription(option),
							filter.isSelected(option), selected);
				}
			}
			return super.getTreeCellRendererComponent(tree, value, selected,
					expanded, leaf, row, hasFocus);
		}