From 706255f2c84d0e5d1bb03e24527475f4eef7fddc Mon Sep 17 00:00:00 2001 From: ndacleud Date: Sat, 18 Nov 2023 03:34:33 +0100 Subject: [PATCH] GOOD --- Test.java | 6 ++++++ Test2.java | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 Test.java create mode 100644 Test2.java 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); + } +}