``` java
private void drawCircle(double x, double y, Color color, double radius) {
  GOval circle = new GOval(x, y, radius, radius);
  circle.setFilled(true);
  circle.setFillColor(color);
  circle.setColor(color);
  add(circle);
}
````