public class BackgroundPainter

  1. Object
  2. BackgroundPainter

ImplementsPainter

A painter that draws the background of a component based on its style

Constructors

public BackgroundPainter(Component parent)Construct a background painter for the given component

Methods

public void paint(Graphics g, Rectangle rect)Draws inside the given rectangle clipping area.

Inherited methods

Constructor details

BackgroundPainter

public BackgroundPainter(Component parent)
Construct a background painter for the given component

Parameters

parent Component
the parent component

Method details

paint

public void paint(Graphics g, Rectangle rect)
Draws inside the given rectangle clipping area.

Parameters

g Graphics
the Graphics object
rect Rectangle
the given rectangle cliping area