question: private static void recalcFontSize ( final float scale , final int rotate , final FormObject formObject , final Component curComp ) { final int size = GUIData . getFontSize ( formObject , rotate , scale ) ; final Font resetFont = curComp . getFont ( ) ; final Font newFont = new Font ( resetFont . getFontName ( ) , resetFont . getStyle ( ) , size ) ; curComp . setFont ( newFont ) ; }
target:  we take in curComp as it could be a JTextField showing the selected value from a JComboBox also the scale and rotation could be from a print routine and not the same as the global variables