APL/APL2.1/TP07/Formes/Formes.java

15 lines
346 B
Java
Raw Permalink Normal View History

2022-03-07 17:26:31 +01:00
import javax.swing.*;
import java.awt.*;
public class Formes {
public static void main(String[] args) {
JFrame f = new JFrame("Formes");
f.setSize(500, 500);
f.setLocation(100, 100);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
2022-03-08 17:15:30 +01:00
f.add(new NewPanel());
2022-03-07 17:26:31 +01:00
f.setVisible(true);
}
}