public void mouseClicked(MouseEvent e)
		{ 
		if (e.getSource() == cur)
			{
			int s = 20;
			int f1 = 8;
			int f2 = f1 + (int) (s * 0.6);
			Rectangle lRect = new Rectangle(f1, f1, s, s);
			Rectangle rRect = new Rectangle(f2, f2, s, s);
			
			if (lRect.contains(e.getPoint()))
				{
				Color c = JColorChooser.showDialog(null,Resources.getString("Palette.LEFT_COLOR"),left);
				if (c != null)
					setLeft(c);
				}
			else if (rRect.contains(e.getPoint()))
				{
				Color c = JColorChooser.showDialog(null,Resources.getString("Palette.RIGHT_COLOR"),right);
				if (c != null)
					setRight(c);
				}
			}
		}