g.setColor(Color.blue); g.drawOval(0, 0, 60, 60); g.drawString("First circle is blue", 0, 80); g.setColor(Color.red); g.drawOval(120, 120, 60, 60); g.drawString("Second circle is red", 100, 200);