public synchronized void panToAbs(Point2D p){
  double sx=m_transform.getScaleX();
  double sy=m_transform.getScaleY();
  double x=p.getX();
  x=(Double.isNaN(x) ? 0 : x);
  double y=p.getY();
  y=(Double.isNaN(y) ? 0 : y);
  x=getWidth() / (2 * sx) - x;
  y=getHeight() / (2 * sy) - y;
  double dx=x - (m_transform.getTranslateX() / sx);
  double dy=y - (m_transform.getTranslateY() / sy);
  damageReport();
  m_transform.translate(dx,dy);
  try {
    m_itransform=m_transform.createInverse();
  }
 catch (  Exception e) {
  }
}

public synchronized void panToAbs ( Point2D p ) { double sx = m_transform . getScaleX ( ) ; double sy = m_transform . getScaleY ( ) ; double x = p . getX ( ) ; x = ( Double . isNaN ( x ) ? 0 : x ) ; double y = p . getY ( ) ; y = ( Double . isNaN ( y ) ? 0 : y ) ; x = getWidth ( ) / ( 2 * sx ) - x ; y = getHeight ( ) / ( 2 * sy ) - y ; double dx = x - ( m_transform . getTranslateX ( ) / sx ) ; double dy = y - ( m_transform . getTranslateY ( ) / sy ) ; damageReport ( ) ; m_transform . translate ( dx , dy ) ; try { m_itransform = m_transform . createInverse ( ) ; } catch ( Exception e ) { } }
pans the display view to center on the provided point in absolute ( i . e . item - space ) coordinates .
