public void stateChanged(ChangeEvent e) {
			//JSlider source = (JSlider)e.getSource();
			int lowerBrushVal = -1;
			int upperBrushVal = -1;

			if(e.getSource()== rangeSliderBar[0])
			{	
				if (!rangeSliderBar[0].getValueIsAdjusting()) {

					lowerBrushVal = (int)rangeSliderBar[0].getValue();
					upperBrushVal = (int)rangeSliderBar[0].getUpperValue();

					//setBrushParameters(0, lowerBrushVal, upperBrushVal);

				} 
			}

			if(e.getSource()== rangeSliderBar[1])
			{	
				if (!rangeSliderBar[1].getValueIsAdjusting()) {

					lowerBrushVal = (int)rangeSliderBar[1].getValue();
					upperBrushVal = (int)rangeSliderBar[1].getUpperValue();

					//setBrushParameters(1, lowerBrushVal, upperBrushVal);

				} 
			} 
			if(e.getSource()== rangeSliderBar[2])
			{	
				if (!rangeSliderBar[2].getValueIsAdjusting()) {

					lowerBrushVal = (int)rangeSliderBar[2].getValue();
					upperBrushVal = (int)rangeSliderBar[2].getUpperValue();

					//setBrushParameters(2, lowerBrushVal, upperBrushVal);

				} 
			}   
			if(e.getSource()== rangeSliderBar[3])
			{	
				if (!rangeSliderBar[3].getValueIsAdjusting()) {

					lowerBrushVal = (int)rangeSliderBar[3].getValue();
					upperBrushVal = (int)rangeSliderBar[3].getUpperValue();

					//	setBrushParameters(3, lowerBrushVal, upperBrushVal);

				} 
			}   

		}