@Override
	public int getScrollableBlockIncrement( Rectangle visibleRect, int orientation, int direction ) {
		return (orientation == SwingConstants.VERTICAL) ? visibleRect.height : visibleRect.width;
	}
A panel that implements the {@link Scrollable} interface.

@author Karl Tauber
flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/ScrollablePanel.java