DEV/DEV2.1/TP5/Maintamere.java

19 lines
414 B
Java
Raw Normal View History

2023-04-26 11:00:04 +02:00
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);
}
}