34 lines
669 B
Java
34 lines
669 B
Java
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);
|
|
}
|
|
} |