public static void resetRenderingHints( Graphics g, Object[] oldRenderingHints ) {
		Graphics2D g2 = (Graphics2D) g;
		if( oldRenderingHints[0] != null )
			g2.setRenderingHint( RenderingHints.KEY_ANTIALIASING, oldRenderingHints[0] );
		if( oldRenderingHints[1] != null )
			g2.setRenderingHint( RenderingHints.KEY_STROKE_CONTROL, oldRenderingHints[1] );
	}
Resets rendering hints previously set with {@link #setRenderingHints}.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatUIUtils.java