public int print(Graphics g,PageFormat pageFormat,int pageIndex){
  return RPrintUtilities.printDocumentWordWrap(g,this,getFont(),pageIndex,pageFormat,getTabSize());
}

public int print ( Graphics g , PageFormat pageFormat , int pageIndex ) { return RPrintUtilities . printDocumentWordWrap ( g , this , getFont ( ) , pageIndex , pageFormat , getTabSize ( ) ) ; }
method called when it ' s time to print this badboy ( the old - school , awt way ) .
