BUT2/DEV/DEV2.1/Controle_Machine_blanc/Q4_Modelisation/Q4Main.java

14 lines
350 B
Java
Raw Normal View History

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