Sets the background fill mode for the Graphics object.
public final void setOpaque( boolean opaque )
opaque
Set to true if you want the current background color to be the fill color; otherwise, set to false.
See Also getOpaque