this.scroll.setLocation(newPt); this.repaint();
scroll.setLocation(newPt); repaint();
    public void adjustmentValueChanged(AdjustmentEvent event) {        Point oldPt = this.scroll;        Point newPt = new Point(oldPt.x, oldPt.y);        if (event.getAdjustable().getOrientation() == Adjustable.VERTICAL) {            newPt.y = event.getValue();        } else {            newPt.x = event.getValue();        }        this.scroll.setLocation(newPt);        this.repaint();    }