diff --git a/Test.java b/Test.java new file mode 100644 index 0000000..71f6e1a --- /dev/null +++ b/Test.java @@ -0,0 +1,6 @@ +public class Test extends JPanel { + public Test(){} + public void paint(Graphics g){ + g.drawArc(125, 100, 550, 550, 0, 360); + } +} \ No newline at end of file diff --git a/Test2.java b/Test2.java new file mode 100644 index 0000000..1c14430 --- /dev/null +++ b/Test2.java @@ -0,0 +1,8 @@ +public class Test2 extends JFrame { + public Test2(){ + super("Test"); + setSize(1280, 720); + add(new Test()); + setVisible(true); + } +}