Rectangle bounds = animation.getValidArea();
if( bounds==null ){
viewport.repaint();
}else{
viewport.repaint(bounds.x, bounds.y, bounds.width, bounds.height);
}
}
private static AnimationUpdater findUpdater( short frameInterval2, ViewportPane viewport ) {
List<AnimationUpdater> updaters = displayToTaskMap.get(frameInterval2);