Here you can find the source of drawCircle(Graphics2D g2d, int x, int y, int size)
public static void drawCircle(Graphics2D g2d, int x, int y, int size)
//package com.java2s; //License from project: Open Source License import java.awt.*; public class Main { public static void drawCircle(Graphics2D g2d, int x, int y, int size) { g2d.drawOval(x, y, size, size);/*from www. j a va 2 s . c om*/ } }