Package org.apache.jmeter.gui.util

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


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

        VerticalPanel poolPanel = new VerticalPanel();
        poolPanel.setBorder(
            BorderFactory.createTitledBorder(
                JMeterUtils.getResString("database_conn_pool_props")));

        poolPanel.add(createConnPanel());
        poolPanel.add(createMaxUsePanel());

        // The Center component will fill all available space.  Since poolPanel
        // has a titled border, this means that the border would extend to the
        // bottom of the frame, which is ugly.  So put the poolPanel in a
        // second panel to fix this.
        VerticalPanel mainPanel = new VerticalPanel();
        mainPanel.add(poolPanel);

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


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

        add(makeTitlePanel(), BorderLayout.NORTH);

        VerticalPanel mainPanel = new VerticalPanel();

        ftpDefaultPanel = new FtpConfigGui(false);
        mainPanel.add(ftpDefaultPanel);

        loginPanel = new LoginConfigGui(false);
        loginPanel.setBorder(
            BorderFactory.createTitledBorder(
                JMeterUtils.getResString("login_config")));
        mainPanel.add(loginPanel);

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

      PERFPANE);
  }
 
  protected Container makeTitlePanel()
  {
    VerticalPanel titlePanel = new VerticalPanel();
    titlePanel.add(createTitleLabel());
    titlePanel.add(getNamePanel());
    return titlePanel;
  }
View Full Code Here

    private void init()
    {
        setBorder(makeBorder());
        setLayout(new BorderLayout());
        JPanel vertPanel = new VerticalPanel();
        vertPanel.add(makeTitlePanel());

        perIterationCheck =
            new JCheckBox(JMeterUtils.getResString("update_per_iter"), true);
        Box perIterationPanel = Box.createHorizontalBox();
        perIterationPanel.add(perIterationCheck);
        perIterationPanel.add(Box.createHorizontalGlue());
        vertPanel.add(perIterationPanel);
        add(vertPanel, BorderLayout.NORTH);

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

        add(makeTitlePanel(), BorderLayout.NORTH);

        JPanel mainPanel = new JPanel(new BorderLayout(0, 5));

        VerticalPanel connPanel = new VerticalPanel();
        dbGui = new DbConfigGui(false);
        connPanel.add(dbGui);

        poolGui = new PoolConfigGui(false);
        connPanel.add(poolGui);

        mainPanel.add(connPanel, BorderLayout.NORTH);

        sqlGui = new SqlConfigGui(false);
        mainPanel.add(sqlGui, BorderLayout.CENTER);
View Full Code Here

    private Map<String, JmxGraphPanel> graphTable = Collections.synchronizedMap(new HashMap<String, JmxGraphPanel>());

    public JmxVisualizer() {
        setLayout(new BorderLayout());
        setBorder(makeBorder());
        VerticalPanel groupPanel = new VerticalPanel();
        Container titlePanel = makeTitlePanel();
        groupPanel.add(titlePanel);
        // redo a filepanel for savegraph
        // - forces png
        // - files only
        // - add save button below
        // - this will listen to save file actions
        // - displays file chooser if file not chosen
        // - if file added by hand, must work
        SaveChartFilePanel saveGraph = new SaveChartFilePanel("Save Graph", "PNG [*.png]");
        saveGraph.addSaveGraphPressedListener(this);
        groupPanel.add(saveGraph);
        add(groupPanel, BorderLayout.NORTH);
        graphsPanel = new VerticalPanel();
        add(graphsPanel, BorderLayout.CENTER);
    }
View Full Code Here

    }

    private void init() {
        setLayout(new BorderLayout());
        setBorder(makeBorder());
        VerticalPanel p = new VerticalPanel();
        add(p, BorderLayout.NORTH);
        p.add(makeTitlePanel());
        panel = new JmxPanel();
        resetJmxPanel();
        p.add(panel);
    }
View Full Code Here

        useKeepAlive = new JCheckBox(JMeterUtils.getResString("use_keepalive"));
        hostBaseUrl = new JLabeledTextField("Base Url", 25);
        resource = new JLabeledTextField("Resource", 20);
        queryString = new JLabeledTextField("QueryString", 30);
        encoding = new JLabeledTextField("Content Encoding", 8);
        VerticalPanel panel = new VerticalPanel();
        HorizontalPanel panel1 = new HorizontalPanel();
        panel1.add(httpMethods);
        panel1.add(useKeepAlive);
        panel1.add(automaticRedirect);
        HorizontalPanel panel2 = new HorizontalPanel();
        panel2.add(hostBaseUrl);
        panel2.add(resource);
        HorizontalPanel panel3 = new HorizontalPanel();
        panel3.add(queryString);
        panel3.add(encoding);
        panel.add(panel1);
        panel.add(panel2);
        panel.add(panel3);
        return panel;
    }
View Full Code Here

    }

    private JPanel getRequestPanel() {
        body = new JLabeledTextArea("Body"); //$NON-NLS-1$
        headers = new JLabeledTextArea("Headers"); //$NON-NLS-1$
        VerticalPanel panel = new VerticalPanel();
        panel.add(headers, BorderLayout.NORTH);
        panel.add(body, BorderLayout.CENTER);
        return panel;
    }
View Full Code Here

    private void init() {
        setLayout(new BorderLayout());
        setBorder(makeBorder());
        add(makeTitlePanel(), BorderLayout.NORTH);
        VerticalPanel panel = new VerticalPanel();
        panel.setBorder(BorderFactory.createEtchedBorder());
        panel.add(getResourceConfigPanel(), BorderLayout.NORTH);
        panel.add(getRequestPanel(), BorderLayout.CENTER);
        add(panel, 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.