theEllipse = new Ellipse2D.Double(
                 -1.0*ds,-0.25*ds,2.0*ds,0.5*ds);
    g2.setPaint(Color.red);

Figure 5