System.out.println("scrolling vbar from "+vbar.getValue()+" to "+nval+ " (inc="+vbar.getUnitIncrement()+")");
    public void scrollRectToVisible(Rectangle aRect) {                Rectangle viewport = scrollable.getScrollableViewportSize();                // should never happen. If it happen we got a serious problem, because        // we cannot determine what to scroll...        if ( viewport==null ) return;                System.out.println("scrollRectToVisible called with "+aRect);        Adjustable hbar = getHorizontalScrollBar();        if ( hbar!=null &&             getHorizontalScrollBarPolicy()!=HORIZONTAL_SCROLLBAR_NEVER ) {            int nval = scrollValue(hbar.getValue(), getHorizontalExtent(),                                   aRect.x, aRect.width,                                   hbar.getUnitIncrement());            if (nval != hbar.getValue()) {                System.out.println("scrolling hbar from "+hbar.getValue()+" to "+nval);                hbar.setValue(nval);            }        }         Adjustable vbar = getVerticalScrollBar();        if (vbar != null &&            getVerticalScrollBarPolicy()!=VERTICAL_SCROLLBAR_NEVER ) {            int nval = scrollValue(vbar.getValue(), getVerticalExtent(),                                   aRect.y, aRect.height,                                   vbar.getUnitIncrement());            if (nval != vbar.getValue()) {                System.out.println("scrolling vbar from "+vbar.getValue()+" to "+nval+                                   " (inc="+vbar.getUnitIncrement()+")");                vbar.setValue(nval);            }        }    }