question: void recalcDimensions ( ) { final int wOld = fWidth ; final int hOld = fHeight ; calcDimensions ( ) ; if ( wOld != fWidth || hOld != fHeight ) { fComponent . invalidate ( ) ; } }
target:  Calculates the dimensions.  If they've changed, invalidates the component