public void setRecipe(Recipe recipe){
		setImage(recipe.getImage(105, 105));

		ImageIcon icon = null;
		switch(recipe.getMainIngredient()){
			case "Kött":
				icon = new javax.swing.ImageIcon(getClass().getResource("/recipesearch/resources/meat_icon.png"));
				break;
			case "Vegetarisk":
				icon = new javax.swing.ImageIcon(getClass().getResource("/recipesearch/resources/tree_icon.png"));
				break;
			case "Kyckling":
				icon = new javax.swing.ImageIcon(getClass().getResource("/recipesearch/resources/Chicken_icon.png"));
				break;
			case "Fisk":
				icon = new javax.swing.ImageIcon(getClass().getResource("/recipesearch/resources/fish_icon.png"));
				break;

			default:
				new javax.swing.ImageIcon(getClass().getResource("/recipesearch/resources/no_choice.png"));
		}

		setTypeIcon(icon);
		setType(recipe.getMainIngredient());
		setServings(recipe.getServings());
		setCuisine(recipe.getCuisine());
		setDifficulty(recipe.getDifficulty());
		setMatch(recipe.getMatch());
		setPrice(recipe.getPrice());
		setTime(recipe.getTime());
		setName(recipe.getName());
		setIngredients(recipe.getIngredients());
		setDescription(recipe.getDescription());
	}