if ( scrollable != null ) { setScrollBarsVisible(true);
if (scrollable != null) {
    protected void adjustScrollBars() {        if ( scrollable != null ) {            setScrollBarsVisible(true);            Dimension scrollableViewport = scrollable.getScrollableViewportSize();            verticalScroller.setMinimum(0);            verticalScroller.setVisibleAmount(verticalExtent);            verticalScroller.setMaximum(scrollableViewport.height);            horizontalScroller.setMinimum(0);            horizontalScroller.setVisibleAmount(horizontalExtent);            horizontalScroller.setMaximum(scrollableViewport.width);        }        else {            setScrollBarsVisible(false);        }    }