19 lines
414 B
Java
19 lines
414 B
Java
|
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);
|
||
|
}
|
||
|
}
|