@Override
	public Component getListCellRendererComponent(JList<? extends TripComponent> list,
			TripComponent value, int index, boolean isSelected, boolean cellHasFocus) {
		
		riverNameLabel.setText("Gr " + (index+1) + ": " + value.getRiverName());
		wwTopLevelLabel.setText ("\u02AC" + value.getWwTopLevel());
		tripFromToLabel.setText ("   " + value.getFromToString());
		
		if (isSelected)
			setTextColor (Color.BLUE);
		else {
			setTextColor (Color.BLACK);
		}
		rosterNamesLabel.setForeground(value.getRosterColor());
		rosterNamesLabel.setText(value.getRosterNames());
		
		if (isSelected) {
            setBackground(list.getSelectionBackground());
            centerPanel.setBackground(list.getSelectionBackground());
            setForeground(list.getSelectionForeground());
        } else {
            setBackground(list.getBackground());
            centerPanel.setBackground(list.getBackground());
            setForeground(list.getForeground());
        }
    	topPanel.setBackground(River.getRiverColor(Integer.decode(value.getWwTopLevel())));
    	
		return this;
	}