javax.swing.plaf

Interface UIResource

public interface UIResource

This public interface is used to designate which objects were created by {@link ComponentUI} delegates. When uninstalling the user public interface renderer with ComponentUI.uninstallUI() the renderer property is set to null.
A comparison against null can be used with all properties except for the java.awt.Component properties font, foreground, and background. The container can provide the value of the properties if they are initialized or set to null.

See Also: ComponentUI