Code example for JScrollPane

Methods: getVerticalScrollBar

0
    /** 
     * @overrides CScrollPane.getVerticalModel 
     */ 
    @Override 
    public BoundedRangeModel getVerticalModel() {
        return scrollviewport.getVerticalScrollBar().getModel();
    } 
 
    /** 
     * @overrides CScrollPane.getHorizontalModel 
     */ 
    @Override 
    public BoundedRangeModel getHorizontalModel() {
        return scrollviewport.getHorizontalScrollBar().getModel();
    } 
 
    /** 
     * @overrides CScrollPane.scrollRectToVisible 
     */ 
    @Override 
Experience pair programming with AI  Get Codota for Java