else if (e.getPropertyName().equals(JSlider.MODEL_CHANGED_PROPERTY))
else if (e.getPropertyName().equals("model"))
    public void propertyChange(PropertyChangeEvent e)    {      // Check for orientation changes.      if (e.getPropertyName().equals(JSlider.ORIENTATION_CHANGED_PROPERTY))	recalculateIfOrientationChanged();      else if (e.getPropertyName().equals(JSlider.MODEL_CHANGED_PROPERTY))      {        BoundedRangeModel oldModel = (BoundedRangeModel) e.getOldValue();	oldModel.removeChangeListener(changeListener);	slider.getModel().addChangeListener(changeListener);	calculateThumbLocation();      }      // elif the componentOrientation changes (this is a bound property,      // just undocumented) we change leftToRightCache. In Sun's       // implementation, the LTR cache changes on a repaint. This is strange      // since there is no need to do so. We could events here and       // update the cache.       // elif the border/insets change, we recalculateInsets.      slider.repaint();    }