@Override
	public Insets getBorderInsets( Component c, Insets insets ) {
		insets.left = scale( left );
		insets.top = scale( top );
		insets.right = scale( right );
		insets.bottom = scale( bottom );
		return insets;
	}
Empty border that scales insets.

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/util/ScaledEmptyBorder.java