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

public class Listeimage{

		ClassLoader loader = Thread.currentThread().getContextClassLoader();
		InputStream file = loader.getResourceAsStream("img/image1.jpg");
		InputStream file2 = loader.getResourceAsStream("img/image2.jpg");
		InputStream file3 = loader.getResourceAsStream("img/image3.jpg");
		InputStream file4 = loader.getResourceAsStream("img/image4.jpg");
		InputStream file5 = loader.getResourceAsStream("img/image5.jpg");
		
		static JLabel image1 = new JLabel(new ImageIcon("./img/image1.jpg"));
		static JLabel image2 = new JLabel(new ImageIcon("./img/image2.jpg"));
		static JLabel image3 = new JLabel(new ImageIcon("./img/image3.jpg"));
		static JLabel image4 = new JLabel(new ImageIcon("./img/image4.jpg"));
		static JLabel image5 = new JLabel(new ImageIcon("./img/image5.jpg"));
		static JLabel[] liste = {image1, image2, image3, image4, image5};
		static int index=0;
}