// circle diameter
// this does the drawing
g.setColor(Color.blue); // set the pen colour blue
g.fillOval(xCoord, yCoord, width, depth); // draw the rectangle
g.drawString("Hello World", xCoord, yCoord + depth + 20); // write the string
xCoord = xCoord + 20; // move in 20 pixels from the left
yCoord = yCoord + 20; // move down 20 pixels from the top