GOOD
This commit is contained in:
parent
7881587de0
commit
706255f2c8
6
Test.java
Normal file
6
Test.java
Normal 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
8
Test2.java
Normal file
@ -0,0 +1,8 @@
|
||||
public class Test2 extends JFrame {
|
||||
public Test2(){
|
||||
super("Test");
|
||||
setSize(1280, 720);
|
||||
add(new Test());
|
||||
setVisible(true);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user