Package org.apache.jmeter.gui.util

Examples of org.apache.jmeter.gui.util.HorizontalPanel


        // Action listener will be added later

        JLabel label = new JLabel(JMeterUtils.getResString("proxy_target")); // $NON-NLS-1$
        label.setLabelFor(targetNodes);

        HorizontalPanel panel = new HorizontalPanel();
        panel.add(label);
        panel.add(targetNodes);

        return panel;
    }
View Full Code Here


        groupingMode.addItemListener(this);

        JLabel label2 = new JLabel(JMeterUtils.getResString("grouping_mode")); // $NON-NLS-1$
        label2.setLabelFor(groupingMode);

        HorizontalPanel panel = new HorizontalPanel();
        panel.add(label2);
        panel.add(groupingMode);

        return panel;
    }
View Full Code Here

        JLabel labelExclude = new JLabel(JMeterUtils.getResString("proxy_content_type_exclude")); // $NON-NLS-1$
        labelExclude.setLabelFor(contentTypeExclude);
        // Default value
        contentTypeExclude.setText(JMeterUtils.getProperty("proxy.content_type_exclude")); // $NON-NLS-1$

        HorizontalPanel panel = new HorizontalPanel();
        panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
                JMeterUtils.getResString("proxy_content_type_filter"))); // $NON-NLS-1$
        panel.add(labelInclude);
        panel.add(contentTypeInclude);
        panel.add(labelExclude);
        panel.add(contentTypeExclude);

        return panel;
    }
View Full Code Here

        JPanel messagePanel = new JPanel(new BorderLayout());
        messagePanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
                JMeterUtils.getResString("jms_message_title"))); //$NON-NLS-1$

        JPanel correlationPanel = new HorizontalPanel();
        correlationPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
                JMeterUtils.getResString("jms_correlation_title"))); //$NON-NLS-1$

        useReqMsgIdAsCorrelId = new JCheckBox(JMeterUtils.getResString("jms_use_req_msgid_as_correlid"),false); //$NON-NLS-1$

        useResMsgIdAsCorrelId = new JCheckBox(JMeterUtils.getResString("jms_use_res_msgid_as_correlid"),false); //$NON-NLS-1$

        correlationPanel.add(useReqMsgIdAsCorrelId);
        correlationPanel.add(useResMsgIdAsCorrelId);

        JPanel messageNorthPanel = new JPanel(new BorderLayout());
        JPanel onewayPanel = new HorizontalPanel();
        onewayPanel.add(oneWay);
        onewayPanel.add(correlationPanel);
        messageNorthPanel.add(onewayPanel, BorderLayout.NORTH);

        useNonPersistentDelivery = new JCheckBox(JMeterUtils.getResString("jms_use_non_persistent_delivery"),false); //$NON-NLS-1$

        JPanel timeoutPanel = new HorizontalPanel();
        timeoutPanel.add(timeout);
        timeoutPanel.add(useNonPersistentDelivery);
        messageNorthPanel.add(timeoutPanel, BorderLayout.SOUTH);

        messagePanel.add(messageNorthPanel, BorderLayout.NORTH);

        JPanel messageContentPanel = new JPanel(new BorderLayout());
View Full Code Here

    samplerDownloadImages.setName(ProxyControl.SAMPLER_DOWNLOAD_IMAGES);
    samplerDownloadImages.setSelected(false);
    samplerDownloadImages.addActionListener(this);
    samplerDownloadImages.setActionCommand(ProxyControl.SAMPLER_DOWNLOAD_IMAGES);
   
    HorizontalPanel panel = new HorizontalPanel();
    panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("proxy_sampler_settings"))); // $NON-NLS-1$
    panel.add(label2);
    panel.add(samplerTypeName);
    panel.add(samplerRedirectAutomatically);
    panel.add(samplerFollowRedirects);
    panel.add(useKeepAlive);
    panel.add(samplerDownloadImages);

    return panel;
  }
View Full Code Here

    // Action listener will be added later

    JLabel label = new JLabel(JMeterUtils.getResString("proxy_target")); // $NON-NLS-1$
    label.setLabelFor(targetNodes);

    HorizontalPanel panel = new HorizontalPanel();
    panel.add(label);
    panel.add(targetNodes);

    /*
     * This listener subscription prevents freeing up the GUI when it's no
     * longer in use (e.g. on locale change)... plus causes some anoying
     * NPEs in the GUI instance created by the menu manager just to find out
View Full Code Here

    groupingMode.addItemListener(this);

    JLabel label2 = new JLabel(JMeterUtils.getResString("grouping_mode")); // $NON-NLS-1$
    label2.setLabelFor(groupingMode);

    HorizontalPanel panel = new HorizontalPanel();
    panel.add(label2);
    panel.add(groupingMode);

    return panel;
  }
View Full Code Here

    JLabel labelExclude = new JLabel(JMeterUtils.getResString("proxy_content_type_exclude")); // $NON-NLS-1$
    labelExclude.setLabelFor(contentTypeExclude);
    // Default value
    contentTypeExclude.setText(JMeterUtils.getProperty("proxy.content_type_exclude")); // $NON-NLS-1$
   
    HorizontalPanel panel = new HorizontalPanel();
    panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("proxy_content_type_filter"))); // $NON-NLS-1$
    panel.add(labelInclude);
    panel.add(contentTypeInclude);
    panel.add(labelExclude);
    panel.add(contentTypeExclude);
   
    return panel;
  }
View Full Code Here

    httpsSpoof.setName(ProxyControl.HTTPS_SPOOF);
    httpsSpoof.setSelected(false);
    httpsSpoof.addActionListener(this);
    httpsSpoof.setActionCommand(ProxyControl.HTTPS_SPOOF);   
   
    HorizontalPanel panel = new HorizontalPanel();
    panel.add(label);
    panel.add(portField);

    panel.add(Box.createHorizontalStrut(10));
    panel.add(httpsSpoof);

    return panel;
  }
View Full Code Here

    VerticalPanel mainPanel = new VerticalPanel();
    mainPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("proxy_test_plan_content"))); // $NON-NLS-1$

    HorizontalPanel nodeCreationPanel = new HorizontalPanel();
    nodeCreationPanel.add(httpHeaders);
    nodeCreationPanel.add(addAssertions);
    nodeCreationPanel.add(regexMatch);
   
    mainPanel.add(createTargetPanel());
    mainPanel.add(createGroupingPanel());
    mainPanel.add(nodeCreationPanel);
View Full Code Here

TOP

Related Classes of org.apache.jmeter.gui.util.HorizontalPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.