@Override
	protected int getArc( Component c ) {
		if( isCellEditor( c ) )
			return 0;

		if( isArcStyled )
			return arc;

		if( c instanceof JScrollPane ) {
			Component view = FlatScrollPaneUI.getView( (JScrollPane) c );
			if( listArc >= 0 && view instanceof JList )
				return listArc;
			if( tableArc >= 0 && view instanceof JTable )
				return tableArc;
			if( textComponentArc >= 0&& view instanceof JTextComponent )
				return textComponentArc;
			if( treeArc >= 0 && view instanceof JTree )
				return treeArc;
		}

		return arc;
	}
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