question: private void updateEffectiveDimensions ( ) { effectiveWidth = Math . max ( 0 , width - leftBorder - rightBorder ) ; effectiveHeight = Math . max ( 0 , height - topBorder - bottomBorder ) ; }
target:  Updates the effective dimensions.