public int computeStringWidth(SynthContext ss,Font font,FontMetrics metrics,String text){
  return SwingUtilities2.stringWidth(ss.getComponent(),metrics,text);
}

public int computeStringWidth ( SynthContext ss , Font font , FontMetrics metrics , String text ) { return SwingUtilities2 . stringWidth ( ss . getComponent ( ) , metrics , text ) ; }
returns the size of the passed in string .
