@Override
  public void installUI(JComponent c) {
    myAnimationBehavior = createWrapAnimationBehaviour();

    myScrollBar = (JScrollBar)c;
    ScrollBarPainter.setBackground(c);
    myScrollBar.setOpaque(false);
    myScrollBar.setFocusable(false);
    myScrollBar.addMouseListener(myListener);
    myScrollBar.addMouseMotionListener(myListener);
    myScrollBar.getModel().addChangeListener(myListener);
    myScrollBar.addPropertyChangeListener(myListener);
    myScrollBar.addFocusListener(myListener);
    myScrollTimer.setInitialDelay(300);
  }
@Override
  public void installUI(JComponent c)