question: private void initIndeterminateDefaults ( ) { initRepaintInterval ( ) ; initCycleTime ( ) ; if ( repaintInterval <= 0 ) { repaintInterval = 100 ; } if ( repaintInterval > cycleTime ) { cycleTime = repaintInterval * 20 ; } else { int factor = ( int ) Math . ceil ( ( ( double ) cycleTime ) / ( ( double ) repaintInterval * 2 ) ) ; cycleTime = repaintInterval * factor * 2 ; } }
target:  Initialize cycleTime, repaintInterval, numFrames, animationIndex. 