private void ExpandButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ExpandButtonActionPerformed
        JToggleButton btn = (JToggleButton)evt.getSource();

		//If maximized
		if(btn.isSelected()){
			btn.setText("Minimera recept");

			//Enable scrolling in horizontal and vertical direction when maximized 
			dishScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
			descriptionScrollPanelSplit.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
			ingredientsScrollPanelSplit.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);

			dishScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
			descriptionScrollPanelSplit.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
			ingredientsScrollPanelSplit.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
			
			mainView.replaceListWithRecipe(this, true);
		} else {
		//Else if minimized
			btn.setText("Utöka recept");


			//Scrollback textfields
			descriptionTextArea.setCaretPosition(0);
			ingredientsTextArea.setCaretPosition(0);

			//Reset scrollbars to 0, default location
			dishScrollPane.getHorizontalScrollBar().setValue(0);
			dishScrollPane.getVerticalScrollBar().setValue(0);
			descriptionScrollPanelSplit.getHorizontalScrollBar().setValue(0);
			descriptionScrollPanelSplit.getVerticalScrollBar().setValue(0);
			ingredientsScrollPanelSplit.getHorizontalScrollBar().setValue(0);
			ingredientsScrollPanelSplit.getVerticalScrollBar().setValue(0);

			//Disable scrolling in horizontal and vertical direction when minimized
			dishScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
			descriptionScrollPanelSplit.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
			ingredientsScrollPanelSplit.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
			dishScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
			descriptionScrollPanelSplit.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
			ingredientsScrollPanelSplit.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
			
			mainView.replaceListWithRecipe(this, false);
		}
    }//GEN-LAST:event_ExpandButtonActionPerformed