@Override
	public void propertyChange(PropertyChangeEvent e) {
		Object source = e.getSource();
		int value = 0;
		if (source == this.textRed) {
			value = (int) this.textRed.getValue();
			if ((value >= 0) && (value <= 255)) {
				this.sliderred.setValue(value);
			}
		} else if (source == this.textGreen) {
			value = (int) this.textGreen.getValue();
			if ((value >= 0) && (value <= 255)) {
				this.slidergreen.setValue(value);
			}
		} else if (source == this.textBlue) {
			value = (int) this.textBlue.getValue();
			if ((value >= 0) && (value <= 255)) {
				this.sliderblue.setValue(value);
			}
		}
	}