Ellipse2D.Double circle3 = 
        new Ellipse2D.Double(
                      -2.0*ds,0.0*ds,2.0*ds,2.0*ds);
    g2.setPaint(
         new GradientPaint(
             -1.15f*ds,1.0f*ds,Color.red,
             -0.85f*ds,1.0f*ds,Color.orange,true));
    g2.fill(circle3);
    g2.draw(circle3);


Figure 5