Associates a brush with this Graphics object.
public final void setBrush( Brush brush )
brush
A Brush object that describes the brush to use with this Graphics object.
After you associate a brush with the Graphics object, all filled areas in the object's clipping rectangle are filled using that brush. You can modify this association as often as you want.
See Also getBrush