private void placeEquationParameters() {
        equationParametersPanel.setLayout(gridBagLayout);

        //Create GridBagConstraints
        GridBagConstraints constraints = new GridBagConstraints();
        constraints.anchor = GridBagConstraints.NORTHWEST;
        constraints.insets = DEFAULT_INSETS;
        constraints.gridx = 0;
        constraints.gridy = 0;
        constraints.weightx = 1;
        constraints.weighty = 1;
        constraints.fill = GridBagConstraints.HORIZONTAL;

        for (int i = 0; i < NUMBER_OF_EQUATION_PARAMETERS /2; i++) {
            constraints.gridx = i;
            gridBagLayout.setConstraints(textFields[i], constraints);
            equationParametersPanel.add(textFields[i]);
        }
        constraints.gridy++;
        for (int i = NUMBER_OF_EQUATION_PARAMETERS /2; i < NUMBER_OF_EQUATION_PARAMETERS; i++) {
            constraints.gridx = i - NUMBER_OF_EQUATION_PARAMETERS /2;
            gridBagLayout.setConstraints(textFields[i], constraints);
            equationParametersPanel.add(textFields[i]);
        }

        JPanel internalPane = new JPanel();
        internalPane.setLayout(gridBagLayout);
        constraints.gridx = 0;
        constraints.gridy++;
        constraints.insets = EMPTY_INSETS;
        constraints.gridwidth = NUMBER_OF_EQUATION_PARAMETERS/2;
        gridBagLayout.setConstraints(internalPane, constraints);

        constraints.insets = DEFAULT_INSETS;
        constraints.gridy = 0;
        constraints.gridwidth = 1;
        gridBagLayout.setConstraints(boundsLabel, constraints);

        constraints.gridy++;
        gridBagLayout.setConstraints(xLabel, constraints);
        constraints.gridx++;
        gridBagLayout.setConstraints(xMinTextField, constraints);
        constraints.gridx++;
        gridBagLayout.setConstraints(yToLabel, constraints);
        constraints.gridx++;
        gridBagLayout.setConstraints(xMaxTextField, constraints);

        constraints.gridx = 0;
        constraints.gridy++;
        gridBagLayout.setConstraints(yLabel, constraints);
        constraints.gridx++;
        gridBagLayout.setConstraints(yMinTextField, constraints);
        constraints.gridx++;
        gridBagLayout.setConstraints(xToLabel, constraints);
        constraints.gridx++;
        gridBagLayout.setConstraints(yMaxTextField, constraints);

        internalPane.add(xMinTextField);
        internalPane.add(xMaxTextField);
        internalPane.add(yMinTextField);
        internalPane.add(yMaxTextField);
        internalPane.add(xLabel);
        internalPane.add(yLabel);
        internalPane.add(xToLabel);
        internalPane.add(yToLabel);
        internalPane.add(boundsLabel);

        equationParametersPanel.add(internalPane);
    }