@Override
	public Component getListCellRendererComponent(JList<? extends RosterComponent> list,
			RosterComponent value, int index, boolean isSelected, boolean cellHasFocus) {

		Integer cnt = MainWindow.tripDB.getRosterAssignmentCount(c.getTime(), value.getRoster());

		Color col = Color.BLACK;
		if (value.getRoster().getIsAspirant()) {
			col = Color.BLUE;
		}
		
		if (cnt == 1) {
			col = new Color (0, 150, 0);
		}
		else if (cnt > 1) {
			col = Color.RED;
		}
		if (value.getRoster().getIsAspirant()) {
			rosterLabel.setForeground(col);
			rosterLabel.setText("HFL: " + value.getRoster().getGivenName() + " " + value.getRoster().getFamilyName());
		}
		else {
			rosterLabel.setForeground(col);
			rosterLabel.setText(value.getRoster().getGivenName() + " " + value.getRoster().getFamilyName());
		}
		
		if (isSelected) {
            setBackground(list.getSelectionBackground());
            setForeground(list.getSelectionForeground());
        } else {
            setBackground(list.getBackground());
            setForeground(list.getForeground());
        }
		return this;
	}