repaint();
  public void setViewPosition(Point p)  {    Component view = getView();    if (view != null)      {        Point q = new Point(-p.x, -p.y);        view.setLocation(q);        fireStateChanged();      }  }