public ColorChooserButton(Color startColor) {
		super();
		color = startColor;
		setBackground(startColor);
		setMaximumSize(new Dimension(30,30));
		setPreferredSize(new Dimension(30,30));
		addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				Color c = JColorChooser.showDialog(null, "Choose a Color", getBackground());
				if (c != null)
					color = c;
					setBackground(color);
			}
		});
	}