16 lines
433 B
Java
16 lines
433 B
Java
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);
|
|
}
|
|
}
|