private void RefreshPreviewButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_RefreshPreviewButtonActionPerformed
    try {
        displayPreviewPane.setContentType("text/html");
        displayPreviewPane.setEditable(false);
        Document doc = (Document) displayPreviewPane.getDocument();
        doc.putProperty("IgnoreCharsetDirective", new Boolean(true));
        displayPreviewPane.setText(SQLInjectionAttackTextArea1.getText());
    } catch (Exception e) {
        System.out.println("exception thrown:" + e);
    }

}