@Override
				public void actionPerformed(ActionEvent arg0) {
					int playerNum = Integer.parseInt(((JButton)arg0.getSource()).getName());
					Color newColor = JColorChooser.showDialog(dialog, "Choose player " + playerNum + "'s color", PlayerColors[playerNum]);
					if(newColor != null) {
						PlayerColors[playerNum] = newColor;
						((JButton)arg0.getSource()).setBackground(newColor);
					}
				}