public static void installBorder (JComponent c, String defaultBorderName)

Convenience method for setting a component's border property with a value from the defaults. The border is only set if the border is null or an instance of UIResource.

Parameters:
c    component to set the border on
defaultBorderName    key specifying the border

Exceptions:
NullPointerException    as described in exceptions