rawPanel.setLayout(new java.awt.GridBagLayout());  rawTextArea.setBackground(new java.awt.Color(204, 204, 204)); rawTextArea.setEditable(false); jScrollPane2.setViewportView(rawTextArea);  gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; rawPanel.add(jScrollPane2, gridBagConstraints);
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        rawPanel = new javax.swing.JPanel();        jScrollPane2 = new javax.swing.JScrollPane();        rawTextArea = new javax.swing.JTextArea();        displayTabbedPane = new javax.swing.JTabbedPane();        parsedPanel = new javax.swing.JPanel();        jLabel3 = new javax.swing.JLabel();        statusTextField = new javax.swing.JTextField();        jLabel4 = new javax.swing.JLabel();        messageTextField = new javax.swing.JTextField();        messagePanelPlaceHolder = new javax.swing.JPanel();        jLabel5 = new javax.swing.JLabel();        versionTextField = new javax.swing.JTextField();        rawPanel.setLayout(new java.awt.GridBagLayout());        rawTextArea.setBackground(new java.awt.Color(204, 204, 204));        rawTextArea.setEditable(false);        jScrollPane2.setViewportView(rawTextArea);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        rawPanel.add(jScrollPane2, gridBagConstraints);        setLayout(new java.awt.BorderLayout());        parsedPanel.setLayout(new java.awt.GridBagLayout());        jLabel3.setLabelFor(statusTextField);        jLabel3.setText("Status");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 0;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 4);        parsedPanel.add(jLabel3, gridBagConstraints);        statusTextField.setEditable(false);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        parsedPanel.add(statusTextField, gridBagConstraints);        jLabel4.setLabelFor(messageTextField);        jLabel4.setText("Message");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 0;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 4);        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        parsedPanel.add(jLabel4, gridBagConstraints);        messageTextField.setEditable(false);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);        gridBagConstraints.weightx = 1.0;        parsedPanel.add(messageTextField, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 2;        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        parsedPanel.add(messagePanelPlaceHolder, gridBagConstraints);        jLabel5.setLabelFor(messageTextField);        jLabel5.setText("Version");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 0;        gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 4);        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        parsedPanel.add(jLabel5, gridBagConstraints);        versionTextField.setBackground(new java.awt.Color(204, 204, 204));        versionTextField.setEditable(false);        versionTextField.setText("HTTP/1.0");        versionTextField.setMinimumSize(new java.awt.Dimension(65, 19));        versionTextField.setPreferredSize(new java.awt.Dimension(65, 19));        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        parsedPanel.add(versionTextField, gridBagConstraints);        displayTabbedPane.addTab("Parsed", parsedPanel);        add(displayTabbedPane, java.awt.BorderLayout.CENTER);    }//GEN-END:initComponents