public void setScrollOffset(int scrollOffset) { if (scrollOffset != this.scrollOffset) { this.scrollOffset = scrollOffset; if (scrollEnabled) ((ScrollableBox) componentContainer).setScrollOffset(scrollOffset); } }