public class Test extends JPanel { public Test(){} public void paint(Graphics g){ g.drawArc(125, 100, 550, 550, 0, 360); } }