@Override
	public Insets getBorderInsets( Component c, Insets insets ) {
		float focusWidth = scale( (float) getFocusWidth( c ) );
		int ow = Math.round( focusWidth + scale( (float) getLineWidth( c ) ) );

		insets = super.getBorderInsets( c, insets );

		insets.top = scale( insets.top ) + ow;
		insets.left = scale( insets.left ) + ow;
		insets.bottom = scale( insets.bottom ) + ow;
		insets.right = scale( insets.right ) + ow;

		if( isCellEditor( c ) ) {
			// remove top and bottom insets if used as cell editor
			insets.top = insets.bottom = 0;

			// remove right/left insets to avoid that text is truncated (e.g. in file chooser)
			if( c.getComponentOrientation().isLeftToRight() )
				insets.right = 0;
			else
				insets.left = 0;
		}

		return insets;
	}
Returns the outline color of the component border specified in client property
{@link FlatClientProperties#OUTLINE}.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatBorder.java