2025-02-13 15:30:47 +01:00
|
|
|
|
2025-02-11 14:46:08 +01:00
|
|
|
import javax.swing.*;
|
|
|
|
import java.awt.*;
|
|
|
|
|
|
|
|
public class MainFormes{
|
|
|
|
public static void main(String[] args){
|
|
|
|
JFrame frame = new JFrame("Formes");
|
2025-02-13 15:30:47 +01:00
|
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
|
|
|
|
|
Formes truc = new Formes();
|
|
|
|
frame.add(truc);
|
|
|
|
|
|
|
|
frame.setSize(500,500);
|
|
|
|
frame.setLocation(500,250);
|
|
|
|
frame.setVisible(true);
|
2025-02-11 14:46:08 +01:00
|
|
|
}
|
|
|
|
}
|