import java.awt.geom.Ellipse2D; int point_x = 50; int point_y = 20; int width = 40; int height = 20; Ellipse2D.Double circle = new Ellipse2D.Double(point_x, point_y, width, height);