static void drawCircle(Graphics2D g, int x, int y, int r, Color color) { g.setColor(color); g.drawOval(x-r, y-r, r*2, r*2); }