@@ -0,0 +1,368 @@
+package Window;%0A%0Aimport java.awt.Graphics;%0Aimport java.awt.Image;%0Aimport javax.swing.JPanel;%0A%0A%0A%0Aclass AfficheImage extends JPanel%0A%7B%0A/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = 1L;%0AImage eau;%0A%0AAfficheImage(String s)%0A%7B%0Aeau = getToolkit().getImage(s);%0A%7D%0A%0Apublic void paintComponent(Graphics g)%0A%7B%0Asuper.paintComponent(g);%0Ag.drawImage(eau, 0, 0, this);%0A%7D%0A%7D%0A

Create AfficheImage.java