void (int frame, int totalFrames, int cycle) { myThumbFadeColorShift = getAnimationColorShift(); if (frame > DELAY_FRAMES) { myThumbFadeColorShift *= 1 - (double)(frame - DELAY_FRAMES) / (double)(totalFrames - DELAY_FRAMES); } if (scrollbar != null) { scrollbar.repaint(((ButtonlessScrollBarUI)scrollbar.getUI()).getThumbBounds()); } }