maj avant tp noté
This commit is contained in:
19
DEV2.1/TP5/Maintamere.java
Normal file
19
DEV2.1/TP5/Maintamere.java
Normal file
@@ -0,0 +1,19 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
|
||||
public class Maintamere {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
JFrame fenetre = new JFrame();
|
||||
fenetre.setSize(1000, 1000);
|
||||
fenetre.setLocation(0, 0);
|
||||
|
||||
Fond tamere = new Fond();
|
||||
fenetre.add(tamere, BorderLayout.CENTER);
|
||||
|
||||
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
fenetre.setVisible(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user