@Override
		@SuppressWarnings("rawtypes")
		public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected,boolean hasFocus){
			Drawable figure = (Drawable) value;
			JLabel label = (JLabel) super.getListCellRendererComponent(list, value, index, isSelected, hasFocus);
			String design = "Figure " + figure.getLayer() + "\nOrigine : (" +figure.getOriginX()+","+figure.getOriginY()+")\nDimension : ("+figure.getWidth()+","+figure.getHeight()+")";
			label.setText("<html>" + design.replaceAll("\n", "<br>"));
			if(figure.getShapeType() == Drawable.LINE){
				label.setIcon(iconeLigne);
			}else if(figure.getShapeType() == Drawable.RECTANGLE){
				label.setIcon(iconeRect);
			}else if(figure.getShapeType() == Drawable.SQUARE){
				label.setIcon(iconeSquare);
			}else if(figure.getShapeType() == Drawable.OVAL){
				label.setIcon(iconeOval);
			}else if(figure.getShapeType() == Drawable.CIRCLE){
				label.setIcon(iconeCircle);
			}else{
				label.setIcon(iconePoly);
			}
			return label;
		}