protected static Insets scaleInsets( Component c, Insets insets,
		int top, int left, int bottom, int right )
	{
		boolean leftToRight = left == right || c == null || c.getComponentOrientation().isLeftToRight();
		insets.left = scale( leftToRight ? left : right );
		insets.top = scale( top );
		insets.right = scale( leftToRight ? right : left );
		insets.bottom = scale( bottom );
		return insets;
	}
Empty border for various components.

The insets are scaled.

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatEmptyBorder.java