public static void install( JComponent c ) {
		if( !migLayoutAvailable )
			return;

		install( c, c2 -> {
			FlatBorder border = FlatUIUtils.getOutsideFlatBorder( c2 );
			if( border != null ) {
				int focusWidth = border.getFocusWidth( c2 );
				return new Insets( focusWidth, focusWidth, focusWidth, focusWidth );
			} else
				return null;
		}, "border", FlatClientProperties.STYLE, FlatClientProperties.STYLE_CLASS );
	}
Convenience method that checks whether component border is a FlatBorder.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/MigLayoutVisualPadding.java