Ellipse2D.Double theCircle = new Ellipse2D.Double( 0.0,0.0,size*ds,size*ds); g2dImage.setPaint(new Color(255,0,0));//red g2dImage.fill(theCircle); g2dImage.draw(theCircle); Figure 5