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();
        JPanel serverPanel = new HorizontalPanel();
        serverPanel.add(createServerPanel(), BorderLayout.CENTER);
        serverPanel.add(getPortPanel(), BorderLayout.EAST);
        mainPanel.add(serverPanel);
        mainPanel.add(createRemoteFilenamePanel());
        mainPanel.add(createLocalFilenamePanel());
        mainPanel.add(createLocalFileContentsPanel());
        mainPanel.add(createOptionsPanel());

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


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

        JPanel mainPanel = new VerticalPanel();
        add(mainPanel, BorderLayout.CENTER);
       
        jndiICF.setToolTipText(Context.INITIAL_CONTEXT_FACTORY);
        urlField.setToolTipText(Context.PROVIDER_URL);
        jmsUser.setToolTipText(Context.SECURITY_PRINCIPAL);
        jmsPwd.setToolTipText(Context.SECURITY_CREDENTIALS);
        mainPanel.add(useProperties);
        mainPanel.add(jndiICF);
        mainPanel.add(urlField);
        mainPanel.add(jndiConnFac);
        mainPanel.add(createDestinationPane());
        mainPanel.add(jmsDurableSubscriptionId);
        mainPanel.add(useAuth);
        mainPanel.add(jmsUser);
        mainPanel.add(jmsPwd);
        mainPanel.add(iterations);

        mainPanel.add(readResponse);
        mainPanel.add(timeout);
       
        JPanel choice = new HorizontalPanel();
        choice.add(clientChoice);
        choice.add(stopBetweenSamples);
        mainPanel.add(choice);

        useProperties.addChangeListener(this);
        useAuth.addChangeListener(this);
    }
View Full Code Here

        setLayout(new BorderLayout(0, 10));
        setBorder(makeBorder());

        add(makeTitlePanel(), BorderLayout.NORTH);

        JPanel mainPanel = new VerticalPanel();
        mainPanel.add(createScopePanel());

        // USER_INPUT
        VerticalPanel durationPanel = new VerticalPanel();
        durationPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
                getDurationAttributesTitle()));

        JPanel labelPanel = new JPanel(new BorderLayout(5, 0));
        JLabel durationLabel =
            new JLabel(JMeterUtils.getResString("duration_assertion_label")); // $NON-NLS-1$
        labelPanel.add(durationLabel, BorderLayout.WEST);

        duration = new JTextField();
        labelPanel.add(duration, BorderLayout.CENTER);
        durationLabel.setLabelFor(duration);
        durationPanel.add(labelPanel);

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

        add(makeTitlePanel(), BorderLayout.NORTH);

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

        // USER_INPUT
        VerticalPanel assertionPanel = new VerticalPanel();
        assertionPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "Tidy Settings"));

        // doctype
        HorizontalPanel docTypePanel = new HorizontalPanel();
        docTypeBox = new JComboBox(new Object[] { "omit", "auto", "strict", "loose" });
        // docTypePanel.add(new
        // JLabel(JMeterUtils.getResString("duration_assertion_label"))); //$NON-NLS-1$
        docTypePanel.add(new JLabel("Doctype:"));
        docTypePanel.add(docTypeBox);
        assertionPanel.add(docTypePanel);

        // format (HMTL, XHTML, XML)
        VerticalPanel formatPanel = new VerticalPanel();
        formatPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "Format"));
        htmlRadioButton = new JRadioButton("HTML", true); //$NON-NLS-1$
        xhtmlRadioButton = new JRadioButton("XHTML", false); //$NON-NLS-1$
        xmlRadioButton = new JRadioButton("XML", false); //$NON-NLS-1$
        ButtonGroup buttonGroup = new ButtonGroup();
        buttonGroup.add(htmlRadioButton);
        buttonGroup.add(xhtmlRadioButton);
        buttonGroup.add(xmlRadioButton);
        formatPanel.add(htmlRadioButton);
        formatPanel.add(xhtmlRadioButton);
        formatPanel.add(xmlRadioButton);
        assertionPanel.add(formatPanel);

        // errors only
        errorsOnly = new JCheckBox("Errors only", false);
        errorsOnly.addActionListener(this);
View Full Code Here

    /**
     * This will create the Search panel in the LdapConfigGui.
     */
    private JPanel createSearchPanel()
    {
        VerticalPanel searchPanel = new VerticalPanel();
        JPanel searchBPanel = new JPanel(new BorderLayout(5, 0));
        JLabel label = new JLabel(JMeterUtils.getResString("search_base"));
        label.setLabelFor(searchbase);
        searchBPanel.add(label, BorderLayout.WEST);
        searchBPanel.add(searchbase, BorderLayout.CENTER);
        JPanel searchFPanel  = new JPanel(new BorderLayout(5, 0));
        JLabel label2 = new JLabel(JMeterUtils.getResString("search_filter"));
        label2.setLabelFor(searchfilter);
        searchFPanel.add(label2, BorderLayout.WEST);
        searchFPanel.add(searchfilter, BorderLayout.CENTER);
        searchPanel.add(searchBPanel);
        searchPanel.add(searchFPanel);
        return searchPanel;
    }
View Full Code Here

    /**
     * This will create the Delete panel in the LdapConfigGui.
     */
    private JPanel createDeletePanel()
    {
        VerticalPanel panel = new VerticalPanel();
        JPanel deletePanel = new JPanel(new BorderLayout(5, 0));
        JLabel label = new JLabel(JMeterUtils.getResString("delete"));
        label.setLabelFor(delete);
        deletePanel.add(label, BorderLayout.WEST);
        deletePanel.add(delete, BorderLayout.CENTER);
        panel.add(deletePanel);
        return panel;
    }
View Full Code Here

        searchTest.addItemListener(this);
        setLayout(new BorderLayout(0, 5));

        if(displayName)
        {
            VerticalPanel mainPanel = new VerticalPanel();
            mainPanel.setBorder(makeBorder());
            add(makeTitlePanel(),BorderLayout.NORTH);
            mainPanel.setBorder(makeBorder());
            mainPanel.add(createServernamePanel());
            mainPanel.add(createPortPanel());
            mainPanel.add(createRootdnPanel());
            mainPanel.add(createTestPanel());
            mainPanel.add(testPanel());
            add(mainPanel,BorderLayout.CENTER);
        }
        else
        {
            VerticalPanel mainPanel = new VerticalPanel();
            mainPanel.add(createServernamePanel());
            mainPanel.add(createPortPanel());
            mainPanel.add(createRootdnPanel());
            mainPanel.add(createTestPanel());
            mainPanel.add(testPanel());
            add(mainPanel,BorderLayout.CENTER);
        }
    }
View Full Code Here

        add(makeTitlePanel(), BorderLayout.NORTH);

        Box mainPanel = Box.createVerticalBox();

        VerticalPanel urlPanel = new VerticalPanel();
        protocol =
            new JLabeledTextField(
                JMeterUtils.getResString("url_config_protocol"));
        urlPanel.add(protocol);

        domain =
            new JLabeledTextField(
                JMeterUtils.getResString("web_server_domain"));
        urlPanel.add(domain);

        path = new JLabeledTextField(JMeterUtils.getResString("path"));
        urlPanel.add(path);

        port =
            new JLabeledTextField(JMeterUtils.getResString("web_server_port"));
        urlPanel.add(port);

        mainPanel.add(urlPanel);

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

    private void init()
    {
        setLayout(new BorderLayout(0, 5));
        setBorder(makeBorder());
        // MAIN PANEL
        VerticalPanel mainPanel = new VerticalPanel();
        loginPanel = new LoginConfigGui(false);
        ldapDefaultPanel = new LdapConfigGui(false);
        loginPanel.setBorder(
            BorderFactory.createTitledBorder(
                JMeterUtils.getResString("login_config")));
        add(makeTitlePanel(),BorderLayout.NORTH);
        mainPanel.add(loginPanel);
        mainPanel.add(ldapDefaultPanel);
        add(mainPanel,BorderLayout.CENTER);
    }
View Full Code Here

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

        VerticalPanel mainPanel = new VerticalPanel();
        mainPanel.add(createServerPanel());
        mainPanel.add(createPortPanel());
    mainPanel.add(createTimeoutPanel());
    mainPanel.add(createNoDelayPanel());
    mainPanel.add(createRequestPanel());

    //mainPanel.add(createFilenamePanel());
    add(mainPanel, BorderLayout.CENTER);
    }
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.