private void SendHTTPButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SendHTTPButtonActionPerformed
    String output = "";
    String header = "";
    String html = "";
    int pos = -1;

    try {
        output = Attack.issueRequest(SQLInjectionAttackTextArea.getText(), jTextField2.getText(), Integer.parseInt(jTextField3.getText()));
    } catch (Exception e) {
        output = e.toString();
    }
    if (!output.equals("")) {
        pos = output.indexOf("\r\n\r\n");
        if (pos > 0) {
            html = output.substring(pos + 4);
            header = output.substring(0, pos + 4);
        }
    }
    SQLInjectionAttackTextArea2.setText(header);
    SQLInjectionAttackTextArea1.setText(html);
    try {
        displayPreviewPane.setContentType("text/html");
        displayPreviewPane.setEditable(false);
//    displayPreviewPane.setPage("http://192.168.1.90/html/phd-mysql/index.php");
        Document doc = (Document) displayPreviewPane.getDocument();
        doc.putProperty("IgnoreCharsetDirective", new Boolean(true));
        displayPreviewPane.setText(html);
    } catch (Exception e) {
        System.out.println("exception thrown:" + e);
    }
}