@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        dishScrollPane = new javax.swing.JScrollPane();
        scrollablePanel = new javax.swing.JPanel();
        dishNameLabel = new javax.swing.JLabel();
        ingredientsDescriptionSplitPanel = new javax.swing.JSplitPane();
        ingredientsScrollPanelSplit = new javax.swing.JScrollPane();
        ingredientsTextArea = new javax.swing.JTextArea();
        descriptionScrollPanelSplit = new javax.swing.JScrollPane();
        descriptionTextArea = new javax.swing.JTextArea();
        MiscInfoPanel = new javax.swing.JPanel();
        dishtypeLabel = new javax.swing.JLabel();
        dishInfoPanel = new javax.swing.JPanel();
        servingsLabel = new javax.swing.JLabel();
        cuisineLabel = new javax.swing.JLabel();
        difficultyLabel = new javax.swing.JLabel();
        priceLabel = new javax.swing.JLabel();
        timeLabel = new javax.swing.JLabel();
        servingsDataLabel = new javax.swing.JLabel();
        cuisineDataLabel = new javax.swing.JLabel();
        difficultyDataLabel = new javax.swing.JLabel();
        priceDataLabel = new javax.swing.JLabel();
        timeDataLabel = new javax.swing.JLabel();
        dishImage = new javax.swing.JLabel();
        dishTypeIcon = new javax.swing.JLabel();
        matchLabel = new javax.swing.JLabel();
        matchDataLabel = new javax.swing.JLabel();
        ExpandButton = new javax.swing.JToggleButton();

        setAutoscrolls(true);

        dishScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

        dishNameLabel.setText("<name>");

        ingredientsDescriptionSplitPanel.setBorder(null);

        ingredientsScrollPanelSplit.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
        ingredientsScrollPanelSplit.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

        ingredientsTextArea.setEditable(false);
        ingredientsTextArea.setColumns(20);
        ingredientsTextArea.setFont(new java.awt.Font("Calibri", 0, 13)); // NOI18N
        ingredientsTextArea.setLineWrap(true);
        ingredientsTextArea.setRows(5);
        ingredientsTextArea.setText("3st Majs\n5st Lingon\n8st grön\nEn juice");
        ingredientsTextArea.setBorder(null);
        ingredientsTextArea.setMaximumSize(new java.awt.Dimension(4, 300));
        ingredientsTextArea.setMinimumSize(new java.awt.Dimension(4, 200));
        ingredientsScrollPanelSplit.setViewportView(ingredientsTextArea);

        ingredientsDescriptionSplitPanel.setLeftComponent(ingredientsScrollPanelSplit);

        descriptionScrollPanelSplit.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
        descriptionScrollPanelSplit.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

        descriptionTextArea.setEditable(false);
        descriptionTextArea.setColumns(20);
        descriptionTextArea.setFont(new java.awt.Font("Calibri", 0, 13)); // NOI18N
        descriptionTextArea.setLineWrap(true);
        descriptionTextArea.setRows(5);
        descriptionTextArea.setText("Beskrivning ej tillänglig");
        descriptionTextArea.setToolTipText("Recipe description");
        descriptionTextArea.setAutoscrolls(false);
        descriptionTextArea.setBorder(null);
        descriptionScrollPanelSplit.setViewportView(descriptionTextArea);

        ingredientsDescriptionSplitPanel.setRightComponent(descriptionScrollPanelSplit);

        dishtypeLabel.setText("<dishtype>");

        dishInfoPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        servingsLabel.setText("Servings");

        cuisineLabel.setText("Cuisine");

        difficultyLabel.setText("Difficulty");

        priceLabel.setText("Price");

        timeLabel.setText("Time");

        servingsDataLabel.setText("5st");

        cuisineDataLabel.setText("Svenskt");

        difficultyDataLabel.setText("Lätt");

        priceDataLabel.setText("35kr");

        timeDataLabel.setText("25m");

        javax.swing.GroupLayout dishInfoPanelLayout = new javax.swing.GroupLayout(dishInfoPanel);
        dishInfoPanel.setLayout(dishInfoPanelLayout);
        dishInfoPanelLayout.setHorizontalGroup(
            dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(dishInfoPanelLayout.createSequentialGroup()
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(cuisineLabel)
                    .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(difficultyLabel)
                        .addComponent(priceLabel, javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(timeLabel, javax.swing.GroupLayout.Alignment.TRAILING))
                    .addComponent(servingsLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(servingsDataLabel)
                    .addComponent(cuisineDataLabel)
                    .addComponent(difficultyDataLabel)
                    .addComponent(priceDataLabel)
                    .addComponent(timeDataLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        dishInfoPanelLayout.setVerticalGroup(
            dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(dishInfoPanelLayout.createSequentialGroup()
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(servingsLabel)
                    .addComponent(servingsDataLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cuisineLabel)
                    .addComponent(cuisineDataLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(difficultyLabel)
                    .addComponent(difficultyDataLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(priceLabel)
                    .addComponent(priceDataLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(dishInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(timeLabel)
                    .addComponent(timeDataLabel)))
        );

        dishImage.setText("DISH IMAGE MISSING");

        dishTypeIcon.setText("DISH ICON MISSING");
        dishTypeIcon.setMaximumSize(new java.awt.Dimension(48, 48));
        dishTypeIcon.setMinimumSize(new java.awt.Dimension(48, 48));
        dishTypeIcon.setPreferredSize(new java.awt.Dimension(48, 48));

        javax.swing.GroupLayout MiscInfoPanelLayout = new javax.swing.GroupLayout(MiscInfoPanel);
        MiscInfoPanel.setLayout(MiscInfoPanelLayout);
        MiscInfoPanelLayout.setHorizontalGroup(
            MiscInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(MiscInfoPanelLayout.createSequentialGroup()
                .addGroup(MiscInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(dishInfoPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(MiscInfoPanelLayout.createSequentialGroup()
                        .addGroup(MiscInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(MiscInfoPanelLayout.createSequentialGroup()
                                .addComponent(dishTypeIcon, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(dishtypeLabel))
                            .addComponent(dishImage, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        MiscInfoPanelLayout.setVerticalGroup(
            MiscInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(MiscInfoPanelLayout.createSequentialGroup()
                .addComponent(dishImage, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(MiscInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(dishtypeLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(dishTypeIcon, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addComponent(dishInfoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(94, Short.MAX_VALUE))
        );

        matchLabel.setText("Match");

        matchDataLabel.setText("75%");

        javax.swing.GroupLayout scrollablePanelLayout = new javax.swing.GroupLayout(scrollablePanel);
        scrollablePanel.setLayout(scrollablePanelLayout);
        scrollablePanelLayout.setHorizontalGroup(
            scrollablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(scrollablePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(MiscInfoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(scrollablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(ingredientsDescriptionSplitPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addGroup(scrollablePanelLayout.createSequentialGroup()
                        .addComponent(dishNameLabel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 163, Short.MAX_VALUE)
                        .addComponent(matchLabel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(matchDataLabel)
                        .addContainerGap())))
        );
        scrollablePanelLayout.setVerticalGroup(
            scrollablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(scrollablePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(scrollablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(scrollablePanelLayout.createSequentialGroup()
                        .addGroup(scrollablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(dishNameLabel)
                            .addComponent(matchLabel)
                            .addComponent(matchDataLabel))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ingredientsDescriptionSplitPanel))
                    .addComponent(MiscInfoPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );

        dishScrollPane.setViewportView(scrollablePanel);

        ExpandButton.setText("Utöka recept");
        ExpandButton.setToolTipText("Tryck här för att se den detaljerade vyn av receptet");
        ExpandButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ExpandButtonActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(ExpandButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addComponent(dishScrollPane)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(dishScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 167, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ExpandButton, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
    }// </editor-fold>//GEN-END:initComponents