/** * Sets the vertical scroll bar. * * @param sb the scrollbar that controls the viewports vertical view position */ public void setVerticalScrollBar(Adjustable sb) { setVerticalScrollBar(sb, SScrollPaneLayout.EAST); }
public SScrollPane() { super(new SScrollPaneLayout()); setHorizontalScrollBar(new SScrollBar(SConstants.HORIZONTAL)); setVerticalScrollBar(new SScrollBar(SConstants.VERTICAL)); }