Fin du TP06
This commit is contained in:
12
DEV2.1/TP06/Main.java
Normal file
12
DEV2.1/TP06/Main.java
Normal file
@@ -0,0 +1,12 @@
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
JFrame fenetre = new JFrame();
|
||||
Sautoir test = new Sautoir();
|
||||
// on configure la fenetre
|
||||
fenetre.setSize(500, 500);
|
||||
fenetre.setLocation(0, 0);
|
||||
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
fenetre.add(test);
|
||||
fenetre.setVisible(true);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user