| Constructor and Description |
|---|
RectanglePainter(Color fillColor)
|
public RectanglePainter(Color fillColor)
fillColor - the Color to fill the Component with.public void paint(Graphics2D g, Component object, int width, int height)
PainterGraphics2D. The supplied graphics context may be modified - it's
state need not be restored upon completion of painting.