Package org.apache.jmeter.gui.util

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


      setBorder(makeBorder());
      add(makeTitlePanel(), BorderLayout.NORTH);
    }

    // MAIN PANEL
    VerticalPanel mainPanel = new VerticalPanel();
    mainPanel.add(createServerPanel());
    mainPanel.add(createRemoteFilenamePanel());
    mainPanel.add(createLocalFilenamePanel());
    mainPanel.add(createLocalFileContentsPanel());
        mainPanel.add(createOptionsPanel());

    add(mainPanel, BorderLayout.CENTER);
  }
View Full Code Here


  private void init() {// called from ctor, so must not be overridable
    this.setLayout(new BorderLayout());

    // WEB SERVER PANEL
    VerticalPanel webServerPanel = new VerticalPanel();
    webServerPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("web_server"))); // $NON-NLS-1$
    final JPanel domainPanel = getDomainPanel();
    final JPanel portPanel = getPortPanel();
    domainPanel.add(portPanel,BorderLayout.EAST);
    webServerPanel.add(domainPanel);
    //webServerPanel.add(getPortPanel());

    JPanel northPanel = new JPanel();
    northPanel.setLayout(new BoxLayout(northPanel, BoxLayout.Y_AXIS));
    northPanel.add(getProtocolAndMethodPanel());
View Full Code Here

    add(box, BorderLayout.NORTH);

    // JPanel mainPanel = new JPanel(new BorderLayout());

    // THREAD PROPERTIES
    VerticalPanel threadPropsPanel = new VerticalPanel();
    threadPropsPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("thread_properties"))); // $NON-NLS-1$

    // NUMBER OF THREADS
    JPanel threadPanel = new JPanel(new BorderLayout(5, 0));

    JLabel threadLabel = new JLabel(JMeterUtils.getResString("number_of_threads")); // $NON-NLS-1$
    threadPanel.add(threadLabel, BorderLayout.WEST);

    threadInput = new JTextField(5);
    threadInput.setName(THREAD_NAME);
    threadLabel.setLabelFor(threadInput);
    threadPanel.add(threadInput, BorderLayout.CENTER);

    threadPropsPanel.add(threadPanel);
    new FocusRequester(threadInput);

    // RAMP-UP
    JPanel rampPanel = new JPanel(new BorderLayout(5, 0));
    JLabel rampLabel = new JLabel(JMeterUtils.getResString("ramp_up")); // $NON-NLS-1$
    rampPanel.add(rampLabel, BorderLayout.WEST);

    rampInput = new JTextField(5);
    rampInput.setName(RAMP_NAME);
    rampLabel.setLabelFor(rampInput);
    rampPanel.add(rampInput, BorderLayout.CENTER);

    threadPropsPanel.add(rampPanel);

    // LOOP COUNT
    threadPropsPanel.add(createControllerPanel());

    // mainPanel.add(threadPropsPanel, BorderLayout.NORTH);
    // add(mainPanel, BorderLayout.CENTER);

    scheduler = new JCheckBox(JMeterUtils.getResString("scheduler")); // $NON-NLS-1$
    scheduler.addItemListener(this);
    threadPropsPanel.add(scheduler);
    mainPanel = new VerticalPanel();
    mainPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("scheduler_configuration"))); // $NON-NLS-1$
    mainPanel.add(createStartTimePanel());
    mainPanel.add(createEndTimePanel());
    mainPanel.add(createDurationPanel());
    mainPanel.add(createDelayPanel());
    mainPanel.setVisible(false);
    VerticalPanel intgrationPanel = new VerticalPanel();
    intgrationPanel.add(threadPropsPanel);
    intgrationPanel.add(mainPanel);
    add(intgrationPanel, BorderLayout.CENTER);
  }
View Full Code Here

  private void init() {// called from ctor, so must not be overridable
    this.setLayout(new BorderLayout());

    // WEB SERVER PANEL
    VerticalPanel webServerPanel = new VerticalPanel();
    webServerPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
        JMeterUtils.getResString("web_server"))); // $NON-NLS-1$
    final JPanel domainPanel = getDomainPanel();
    final JPanel portPanel = getPortPanel();
    domainPanel.add(portPanel,BorderLayout.EAST);
    webServerPanel.add(domainPanel);

    JPanel northPanel = new JPanel();
    northPanel.setLayout(new BoxLayout(northPanel, BoxLayout.Y_AXIS));
    northPanel.add(getProtocolAndMethodPanel());
    northPanel.add(getPathPanel());
View Full Code Here

        cmdWkDirPane.add(command, BorderLayout.CENTER);
        directory = new JLabeledTextField(JMeterUtils.getResString("directory_field_title")); // $NON-NLS-1$
        cmdWkDirPane.add(directory, BorderLayout.EAST);
        cmdPanel.add(cmdWkDirPane);
       
        JPanel panel = new VerticalPanel();
        panel.setBorder(BorderFactory.createTitledBorder(
                BorderFactory.createEtchedBorder(),
                JMeterUtils.getResString("command_config_box_title"))); // $NON-NLS-1$
        panel.add(cmdPanel, BorderLayout.NORTH);
        panel.add(makeArgumentsPanel(), BorderLayout.CENTER);
        panel.add(makeEnvironmentPanel(), BorderLayout.SOUTH);
        return panel;
    }
View Full Code Here

        regexMatch = new JCheckBox(JMeterUtils.getResString("proxy_regex")); // $NON-NLS-1$
        regexMatch.setSelected(false);
        regexMatch.addActionListener(this);
        regexMatch.setActionCommand(ENABLE_RESTART);

        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(createGroupingPanel());
        nodeCreationPanel.add(httpHeaders);
        nodeCreationPanel.add(addAssertions);
        nodeCreationPanel.add(regexMatch);

        HorizontalPanel targetPanel = new HorizontalPanel();
        targetPanel.add(createTargetPanel());
        mainPanel.add(targetPanel);
        mainPanel.add(nodeCreationPanel);

        return mainPanel;
    }
View Full Code Here

    private void init() {
        setLayout(new BorderLayout());
        setBorder(makeBorder());
        add(makeTitlePanel(), BorderLayout.NORTH);

        JPanel mainPanel = new VerticalPanel();
        add(mainPanel, BorderLayout.CENTER);
       
        mainPanel.add(useProperties);
        mainPanel.add(jndiICF);
        mainPanel.add(urlField);
        mainPanel.add(jndiConnFac);
        mainPanel.add(createDestinationPane());
        mainPanel.add(createAuthPane());
        mainPanel.add(iterations);

        jmsPropertiesPanel = new ArgumentsPanel(JMeterUtils.getResString("jms_props")); //$NON-NLS-1$
        mainPanel.add(jmsPropertiesPanel);

        configChoice.setLayout(new BoxLayout(configChoice, BoxLayout.X_AXIS));
        mainPanel.add(configChoice);
        msgChoice.setLayout(new BoxLayout(msgChoice, BoxLayout.X_AXIS));
        mainPanel.add(msgChoice);
        mainPanel.add(messageFile);
        mainPanel.add(randomFile);

        JPanel messageContentPanel = new JPanel(new BorderLayout());
        messageContentPanel.add(new JLabel(JMeterUtils.getResString("jms_text_area")), BorderLayout.NORTH);
        messageContentPanel.add(new JTextScrollPane(textMessage), BorderLayout.CENTER);

        mainPanel.add(messageContentPanel);
        useProperties.addChangeListener(this);
        useAuth.addChangeListener(this);
        configChoice.addChangeListener(this);
        msgChoice.addChangeListener(this);
    }
View Full Code Here

        mainPanel.setBorder(margin);
        mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));
        mainPanel.add(makeTitlePanel());

        JPanel settingsPane = new VerticalPanel();
        settingsPane.setBorder(margin2);

        graphPanel = new RespTimeGraphChart();
        graphPanel.setPreferredSize(new Dimension(DEFAULT_WIDTH, DEFAULT_HEIGTH));

        settingsPane.add(createGraphActionsPane());
        settingsPane.add(createGraphSettingsPane());
        settingsPane.add(createGraphTitlePane());
        settingsPane.add(createLinePane());
        settingsPane.add(createGraphDimensionPane());
        JPanel axisPane = new JPanel(new BorderLayout());
        axisPane.add(createGraphXAxisPane(), BorderLayout.WEST);
        axisPane.add(createGraphYAxisPane(), BorderLayout.CENTER);
        settingsPane.add(axisPane);
        settingsPane.add(createLegendPane());

        tabbedGraph.addTab(JMeterUtils.getResString("aggregate_graph_tab_settings"), settingsPane); //$NON-NLS-1$
        tabbedGraph.addTab(JMeterUtils.getResString("aggregate_graph_tab_graph"), graphPanel); //$NON-NLS-1$
       
        // If clic on the Graph tab, make the graph (without apply interval or filter)
View Full Code Here

    regexMatch.setName(ProxyControl.REGEX_MATCH);
    regexMatch.setSelected(false);
    regexMatch.addActionListener(this);
    regexMatch.setActionCommand(ProxyControl.REGEX_MATCH);

    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);

    return mainPanel;
  }
View Full Code Here

    add(makeTitlePanel(), BorderLayout.NORTH);

    Box mainPanel = Box.createVerticalBox();

    VerticalPanel urlPanel = new VerticalPanel();
    protocol = new JLabeledTextField(JMeterUtils.getResString("protocol")); // $NON-NLS-1$
    domain = new JLabeledTextField(JMeterUtils.getResString("web_server_domain")); // $NON-NLS-1$
    path = new JLabeledTextField(JMeterUtils.getResString("path")); // $NON-NLS-1$
    port = new JLabeledTextField(JMeterUtils.getResString("web_server_port")); // $NON-NLS-1$
    encoding = new JLabeledTextField(JMeterUtils.getResString("content_encoding")); // $NON-NLS-1$

       
        urlPanel.add(domain);
    urlPanel.add(port);
        urlPanel.add(protocol);
        urlPanel.add(path);
        urlPanel.add(encoding);
       
    mainPanel.add(urlPanel);

    argPanel = new HTTPArgumentsPanel();
    mainPanel.add(argPanel);
View Full Code Here

TOP

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

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.