public static JPanel tabPieces(){

		JFrame fen = new JFrame("Pieces disponibles");
		JPanel pan = new JPanel();
		pan.setSize(400, 100);

		pan.setLayout(new GridLayout(6,2));

		JButton roin = new JButton(new ImageIcon("src//main/java/images/roin.gif"));
		roin.setSize(200, 16);
		tabPiece[0][0] = roin;
		JButton roib = new JButton(new ImageIcon("src//main/java/images/roib.gif"));
		roib.setSize(200, 16);
		tabPiece[0][1] = roib;

		JButton damen = new JButton(new ImageIcon("src//main/java/images/damen.gif"));
		damen.setSize(200, 16);
		tabPiece[1][0] = damen;
		JButton dameb = new JButton(new ImageIcon("src//main/java/images/dameb.gif"));
		dameb.setSize(200, 16);
		tabPiece[1][1] = dameb;

		JButton tourn = new JButton(new ImageIcon("src//main/java/images/tourn.gif"));
		tourn.setSize(200, 16);
		tabPiece[2][0] = tourn;
		JButton tourb = new JButton(new ImageIcon("src//main/java/images/tourb.gif"));
		tourb.setSize(200, 16);
		tabPiece[2][1] = tourb;

		JButton foun = new JButton(new ImageIcon("src//main/java/images/foun.gif"));
		foun.setSize(200, 16);
		tabPiece[3][0] = foun;
		JButton foub = new JButton(new ImageIcon("src//main/java/images/foub.gif"));
		foub.setSize(200, 16);
		tabPiece[3][1] = foub;

		JButton cavaliern = new JButton(new ImageIcon("src//main/java/images/cavaliern.gif"));
		cavaliern.setSize(200, 16);
		tabPiece[4][0] = cavaliern;
		JButton cavalierb = new JButton(new ImageIcon("src//main/java/images/cavalierb.gif"));
		cavalierb.setSize(200, 16);
		tabPiece[4][1] = cavalierb;

		JButton pionn = new JButton(new ImageIcon("src//main/java/images/pionn.gif"));
		pionn.setSize(200, 16);
		tabPiece[5][0] = pionn;
		JButton pionb = new JButton(new ImageIcon("src//main/java/images/pionb.gif"));
		pionb.setSize(200, 16);
		tabPiece[5][1] = pionb;

		for (int i=0 ; i<6 ; i++){
			for(int j = 0 ; j<2 ; j++){
				tabPiece[i][j].addActionListener(new EcouteurPiece());
			}
		}
		pan.add(roin);
		pan.add(roib);
		pan.add(damen);
		pan.add(dameb);
		pan.add(tourn);
		pan.add(tourb);
		pan.add(foun);
		pan.add(foub);
		pan.add(cavaliern);
		pan.add(cavalierb);
		pan.add(pionn);
		pan.add(pionb);




		return pan;

	}