public void translate(double x,double y){
  currentTransform.translate(x,y);
  try {
    writeTransform(new AffineTransform(1,0,0,1,x,y));
  }
 catch (  IOException e) {
    handleException(e);
  }
}

public void translate ( double x , double y ) { currentTransform . translate ( x , y ) ; try { writeTransform ( new AffineTransform ( 1 , 0 , 0 , 1 , x , y ) ) ; } catch ( IOException e ) { handleException ( e ) ; } }
translates the current transform . calls writetransform ( transform )
