import javax.swing.*;
import java.awt.*;
import java.io.*;

public class ImgTest {

	public static void main(String[] args) {
		
		JFrame fenetre = new JFrame("Image");
		fenetre.setSize(768,1024);
		fenetre.setLocationRelativeTo(null);
    	fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 

    	try{
    		Imagee img = new Imagee(768, 1024,"couleur.bin");
    		fenetre.add(img);	
    	}catch(IOException e){
    		System.out.println("probleme");
    	}

    	

    	
  		fenetre.setVisible(true);

	}
}