@Override
	public void setPlayers(PlayerDescription[] value) {
		
		for (int i = 0; i < value.length; i++) {
			
			JToggleButton toggle = new JToggleButton(value[i].getName());
			toggle.addActionListener(playerSelectActionListener);
			toggle.setActionCommand(value[i].getName());
			toggle.putClientProperty( "JButton.buttonType", "segmented" );
			if(i == value.length - 1)
				toggle.putClientProperty( "JButton.segmentPosition", "last" );
			else
				toggle.putClientProperty( "JButton.segmentPosition", "middle" );
			toggle.setForeground(CatanColor.valueOf(value[i].getColor().toUpperCase()).getJavaColor());
	        toggleButtonGroup.add(toggle);
	        this.playerSelectionPanel.add(toggle);
	        this.playerButtons.add(toggle);
		}
		this.players = value;
		for (JPanel panel : this.upDownPanels) {
			panel.setVisible(false);
		}
	}