void (float proportion) { myLagProportion = null; if (myProportion == proportion) { return; } if (proportion < .0f || proportion > 1.0f) { LOG.warn("Wrong proportion: " + proportion); } proportion = MathUtil.clamp(proportion, myMinProp, myMaxProp); float oldProportion = myProportion; myProportion = proportion; firePropertyChange(PROP_PROPORTION, new Float(oldProportion), new Float(myProportion)); revalidate(); repaint(); }