headersMap.put(testHeaderKeyTextField.getText(), testHeaderValueTextField.getText());
parameters.setHeaders(headersMap);
// Let's generate the page with the resulting HTTP headers dynamically.
webBrowser.navigate(WebServer.getDefaultWebServer().getDynamicContentURL(NavigationParameters.this.getClass().getName(), "header-viewer.html"), parameters);
webBrowserPanel.add(webBrowser, BorderLayout.CENTER);
webBrowserPanel.revalidate();
webBrowserPanel.repaint();
}
});
testPostDataButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {