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);
}

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 ) ; }
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
