super.updateGui();
}
protected void init()
{
this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));
// WEB SERVER PANEL
JPanel webServerPanel = new JPanel();
webServerPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));
webServerPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), JMeterUtils.getResString("web_server")));
webServerPanel.add(getDomainPanel());
webServerPanel.add(getPortPanel());
// WEB REQUEST PANEL
JPanel webRequestPanel = new JPanel();
webRequestPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));
webRequestPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), JMeterUtils.getResString("web_request")));
webRequestPanel.add(getProtocolAndMethodPanel());
webRequestPanel.add(getPathPanel());
webRequestPanel.add(getParameterPanel());
webRequestPanel.add(getFilePanel());
// If displayName is TRUE, then this GUI is not embedded in another GUI.
if (displayName)
{
// MAIN PANEL
JPanel mainPanel = new JPanel();
Border margin = new EmptyBorder(10, 10, 5, 10);
mainPanel.setBorder(margin);
mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));
// TITLE
JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("url_full_config_title"));
Font curFont = panelTitleLabel.getFont();
int curFontSize = curFont.getSize();