scrollTimer = new Timer(); scrollTimer.setDelay(200);
scrollTimer = new Timer(200, null);
  public void installUI(JComponent c)  {    super.installUI(c);    if (c instanceof JSlider)      {	slider = (JSlider) c;	focusRect = new Rectangle();	contentRect = new Rectangle();	thumbRect = new Rectangle();	trackRect = new Rectangle();	tickRect = new Rectangle();	labelRect = new Rectangle();	insetCache = slider.getInsets();	leftToRightCache = ! slider.getInverted();	scrollTimer = new Timer();	scrollTimer.setDelay(200);	scrollTimer.setRepeats(true);	installDefaults(slider);	installListeners(slider);	installKeyboardActions(slider);	calculateFocusRect();	calculateContentRect();	calculateThumbSize();	calculateTrackBuffer();	calculateTrackRect();	calculateThumbLocation();	calculateTickRect();	calculateLabelRect();      }  }