//set fill object
g2.setPaint(theTexturePaintObj);
g2.fill(theMainCircle);//do the fill
g2.draw(theMainCircle);//draw the filled circle

Figure 11