This commit is contained in:
Firmin NDACLEU DJEUKAM 2023-11-18 03:34:33 +01:00
parent 7881587de0
commit 706255f2c8
2 changed files with 14 additions and 0 deletions

6
Test.java Normal file
View File

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

8
Test2.java Normal file
View File

@ -0,0 +1,8 @@
public class Test2 extends JFrame {
public Test2(){
super("Test");
setSize(1280, 720);
add(new Test());
setVisible(true);
}
}