public void setViewPosition (Point p)

Sets the view coordinates that appear in the upper left hand corner of the viewport, does nothing if there's no view.

Parameters:
p    a Point object giving the upper left coordinates