update
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class MainFormes{
|
||||
public static void main(String[] args){
|
||||
JFrame frame = new JFrame("Formes");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
Formes truc = new Formes();
|
||||
frame.add(truc);
|
||||
|
||||
frame.setSize(500,500);
|
||||
frame.setLocation(500,250);
|
||||
frame.setVisible(true);
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
Formes truc = new Formes();
|
||||
frame.add(truc);
|
||||
|
||||
frame.setSize(500,500);
|
||||
frame.setLocation(500,250);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user