@Override
	public void adjustmentValueChanged(AdjustmentEvent e) {
		if(e.getSource()==redSlider)
		{
			Color color = new Color(redSlider.getValue(),greenSlider.getValue() , blueSlider.getValue());
			showColor.setForeground(color);
		}
		else if(e.getSource()==greenSlider)
		{
			Color color = new Color(redSlider.getValue(),greenSlider.getValue() , blueSlider.getValue());
			showColor.setForeground(color);
		}
		else if(e.getSource()==blueSlider)
		{
			Color color = new Color(redSlider.getValue(),greenSlider.getValue() , blueSlider.getValue());
			showColor.setForeground(color);
		}
		
	}