postDataMap.put(testPostDataKeyTextField.getText(), testPostDataValueTextField.getText());
parameters.setPostData(postDataMap);
// Let's generate the page with the resulting HTTP headers dynamically.
webBrowser.navigate(WebServer.getDefaultWebServer().getDynamicContentURL(NavigationParameters.class.getName(), "header-viewer.html"), parameters);
webBrowserPanel.add(webBrowser, BorderLayout.CENTER);
webBrowserPanel.revalidate();
webBrowserPanel.repaint();
}
});
return contentPane;
}