public static Dimension addInsets( Dimension dim, Insets insets ) {
		return new Dimension(
			dim.width + insets.left + insets.right,
			dim.height + insets.top + insets.bottom );
	}
Utility methods for UI delegates.

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