DEV/DEV2.1/TP7/Main.java

34 lines
669 B
Java
Raw Normal View History

2023-05-09 11:23:33 +02:00
import java.awt.*;
import java.lang.String;
import javax.swing.*;
import java.io.*;
/*import java.lang.Object;
import java.lang.StringBuffer;
import java.lang.StringBuilder;
*/
/**
* <b>Exercice 1 : a. </b> :
*
* @version 1
* @author Katia AUXILIEN merciiiii
*/
public class Main {
/**
* Affiche message en argument
*
* @param args Message affiche.
*/
public static void main(String[] args) {
JFrame fenetre = new JFrame();
fenetre.setSize(768,1024);
fenetre.setLocation(0,0);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
FluxImage m = new FluxImage();
fenetre.add(m);
fenetre.setVisible(true);
}
}