g2.
setPaint
(new Color( 1.0f,0.0f,0.0f,
1.0f
));//red, not transparent g2.
fill
(theEllipse);
Figure 5