@Override
  void paintThumb(Graphics2D g, JComponent c) {
    if (isOpaque(c)) {
      paint(myThumb, g, c, ScrollSettings.isThumbSmallIfOpaque.invoke());
    }
    else if (myAnimationBehavior != null && myAnimationBehavior.getThumbFrame() > 0) {
      paint(myThumb, g, c, false);
    }
  }
@Override
  void paintThumb(Graphics2D g, JComponent c)