BackgroundPainter is an element which is used to be called while trying to draw a background.Object that has been provided upon creation.LinkPainter is an element which is used to be called while trying to draw a Link.NodePainter is an element which is used to be called while trying to draw a Node.UIComponent contains a platform-dependent object to be used for displaying graphical elements.UIComponent by wrapping the provided system Object