JViewport vp = scroll.getViewport(); if(vp != null) { vp.setViewPosition(new Point(0,0)); scroll.setViewport(vp); }
try { JViewport vp = scroll.getViewport(); if(vp != null) { vp.setViewPosition(new Point(0,0)); scroll.setViewport(vp); } } catch (Exception e) { e.printStackTrace(); }
	public void run() {	  JViewport vp = scroll.getViewport();	  if(vp != null) {	    vp.setViewPosition(new Point(0,0));	    scroll.setViewport(vp);	  }  	}