@Override
	public Insets getBorderInsets( Component c, Insets insets ) {
		insets = super.getBorderInsets( c, insets );

		// if view is rounded, increase left and right insets to avoid that the viewport
		// is painted over the rounded border on the corners
		int padding = getLeftRightPadding( c );
		if( padding > 0 ) {
			insets.left += padding;
			insets.right += padding;
		}

		return insets;
	}
Border for {@link javax.swing.JScrollPane}.

@uiDefault ScrollPane.arc				int
@uiDefault ScrollPane.List.arc			int
@uiDefault ScrollPane.Table.arc			int
@uiDefault ScrollPane.TextComponent.arc	int
@uiDefault ScrollPane.Tree.arc			int
@author Karl Tauber
@since 3.3
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatScrollPaneBorder.java