BUT2/DEV/DEV2.1/Controle_Machine_blanc/Q4_Modelisation/Q3Main.java~

16 lines
433 B
Java
Raw Normal View History

2023-10-23 13:23:36 +02:00
import javax.swing.*;
import java.awt.*;
public class Q3Main{
public static void main(String[] args){
JFrame fenetre = new JFrame();
Tuile paterne = new Tuile("tuile.jpg");
//GridLayout grille = new GridLayout(10, 10);
//fenetre.setLayout(gestionnaire);
fenetre.setSize(500, 500);
fenetre.setLocation(0, 0);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
fenetre.add(paterne);
fenetre.setVisible(true);
}
}