Developpement/23DEV1.1/TPS2/TP01/Evènements/Test.java

15 lines
333 B
Java

import javax.swing.*;
import java.awt.*;
public class Test {
public static void main(String[] args)
{
JFrame fenetre = new JFrame();
fenetre.setSize(200, 200);
fenetre.setLocation(100, 100);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
fenetre.add(new Fond());
fenetre.setVisible(true);
}
}