private void resetDefaultGamma() { view.getGammaLabel().setText(" Gamma: "+(double) GraphicsRepresentation.INIT/10); JSlider slider = view.getGamma();  slider.removeChangeListener(this); slider.setValue(GraphicsRepresentation.INIT); slider.addChangeListener(this); }
void resetDefaultGamma(double k, int family) { view.getGammaLabel().setText(" Gamma: "+k); JSlider slider = view.getGamma(); if (family == QuantumFactory.LOGARITHMIC || family == QuantumFactory.LINEAR) slider.setEnabled(false); else slider.setEnabled(true);  slider.removeChangeListener(this); slider.setValue((int) (k*10)); slider.addChangeListener(this); }
	private void resetDefaultGamma()	{		view.getGammaLabel().setText(" Gamma: "+(double) 											GraphicsRepresentation.INIT/10);		JSlider slider = view.getGamma();		//Remove temporarily the listener otherwise an event is fired.		slider.removeChangeListener(this);		slider.setValue(GraphicsRepresentation.INIT);		slider.addChangeListener(this);	}