@SuppressWarnings( "unchecked" )
	public static <T> T getStyleableValue( JComponent c, String key ) {
		ComponentUI ui = JavaCompatibility2.getUI( c );
		return (ui instanceof StyleableUI) ? (T) ((StyleableUI)ui).getStyleableValue( c, key ) : null;
	}
Returns the (styled) value for the given key from the given component.
<p>
This is equivalent to: {@code ((StyleableUI)c.getUI()).getStyleableValue(c, key)}

@since 2.5
flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java