| Constructor and Description |
|---|
GradientPainter(Color topColor,
Color bottomColor) |
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.