void (Graphics g, Rectangle thumbBounds) { if (isMacScrollbarHiddenAndXcodeLikeScrollbar()) return; if (!myMacScrollbarHidden || alwaysPaintThumb()) { thumbBounds = getMacScrollBarBounds(thumbBounds, true); Graphics2D g2d = (Graphics2D)g; float value = fixAnimationValue((float)(1 - myMacScrollbarFadeLevel)); myThumbPainter.paint(g2d, thumbBounds.x - 2, thumbBounds.y - 2, thumbBounds.width + 4, thumbBounds.height + 4, value); } }