17 lines
420 B
Java
17 lines
420 B
Java
|
//HORVILLE Ewen Groupe N°4
|
||
|
|
||
|
import java.awt.*;
|
||
|
import javax.swing.*;
|
||
|
|
||
|
public class Tuile {
|
||
|
public static void main(String[] args) {
|
||
|
JFrame f = new JFrame("Tuile");
|
||
|
f.setLocation(150, 150);
|
||
|
f.setSize(500, 500);
|
||
|
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||
|
f.setVisible(true);
|
||
|
|
||
|
TileBackground tb = new TileBackground(100, "./tuile.jpg");
|
||
|
f.add(tb);
|
||
|
}
|
||
|
}
|