Package org.apache.jorphan.gui

Examples of org.apache.jorphan.gui.JLabeledTextField


        add(makeTitlePanel(), BorderLayout.NORTH);

        VerticalPanel mainPanel = new VerticalPanel();

        argumentName = new JLabeledTextField(JMeterUtils.getResString("session_argument_name"), 10); // $NON-NLS-1$
        mainPanel.add(argumentName);

        pathExt = new JCheckBox(JMeterUtils.getResString("path_extension_choice")); // $NON-NLS-1$
        mainPanel.add(pathExt);
View Full Code Here


        comboPanel.add(helpButton);
        this.getContentPane().add(comboPanel, BorderLayout.NORTH);
        this.getContentPane().add(parameterPanel, BorderLayout.CENTER);
        JPanel resultsPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
        cutPasteFunction =
            new JLabeledTextField(
                JMeterUtils.getResString("cut_paste_function"),
                35);
        resultsPanel.add(cutPasteFunction);
        generateButton = new JButton(JMeterUtils.getResString("generate"));
        generateButton.addActionListener(this);
View Full Code Here

       
        add(makeTitlePanel(), BorderLayout.NORTH);

        VerticalPanel mainPanel = new VerticalPanel();

    argumentName = new JLabeledTextField(JMeterUtils.getResString("session_argument_name"), 10);
    mainPanel.add(argumentName);

    pathExt = new JCheckBox(JMeterUtils.getResString("Path_Extension_choice"));   
    mainPanel.add(pathExt)
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();
View Full Code Here

        setLayout(new BorderLayout());
        setBorder(makeBorder());
       
        add(makeTitlePanel(), BorderLayout.NORTH);

        urlField = new JLabeledTextField(JMeterUtils.getResString("url"), 10);
        soapXml = new JLabeledTextArea(JMeterUtils.getResString("soap_data_title"), null);

        JPanel mainPanel = new JPanel(new BorderLayout());
        mainPanel.add(urlField, BorderLayout.NORTH);
        mainPanel.add(soapXml, BorderLayout.CENTER);
View Full Code Here

        add(makeParameterPanel(),BorderLayout.CENTER);
    }
   
    private JPanel makeParameterPanel()
    {
        regexField = new JLabeledTextField(JMeterUtils.getResString("regex_field"));
        templateField = new JLabeledTextField(JMeterUtils.getResString("template_field"));
        defaultField = new JLabeledTextField(JMeterUtils.getResString("default_value_field"));
        refNameField = new JLabeledTextField(JMeterUtils.getResString("ref_name_field"));
        matchNumberField = new JLabeledTextField(JMeterUtils.getResString("match_num_field"));

        JPanel panel = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        initConstraints(gbc);
        addField(panel,refNameField,gbc);
View Full Code Here

    private void init()
    {
        setBorder (makeBorder());
        setLayout(new VerticalLayout(5, VerticalLayout.LEFT));
       
        startField = new JLabeledTextField(JMeterUtils.getResString("start"), 5);
        incrField = new JLabeledTextField(JMeterUtils.getResString("increment"), 5);
        endField = new JLabeledTextField(JMeterUtils.getResString("max"), 5);
        varNameField = new JLabeledTextField(JMeterUtils.getResString("var_name"));
        perUserField = new JCheckBox(JMeterUtils.getResString("counter_per_user"));

        add(makeTitlePanel());
        add(startField);
        add(incrField);
View Full Code Here

        JPanel panel = new JPanel();
        panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
        panel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("return_code_config_box_title")));
        checkReturnCode = new JCheckBox(JMeterUtils.getResString("check_return_code_title"));
        checkReturnCode.addItemListener(this);
        desiredReturnCode = new JLabeledTextField(JMeterUtils.getResString("expected_return_code_title"));
        desiredReturnCode.setSize(desiredReturnCode.getSize().height, 30);
        panel.add(checkReturnCode);
        panel.add(Box.createHorizontalStrut(5));
        panel.add(desiredReturnCode);
        checkReturnCode.setSelected(true);
View Full Code Here

        panel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("command_config_box_title")));
       
        JPanel cmdPanel = new JPanel();
        cmdPanel.setLayout(new BoxLayout(cmdPanel, BoxLayout.X_AXIS));
       
        directory = new JLabeledTextField(JMeterUtils.getResString("directory_field_title"));
        cmdPanel.add(directory);
        cmdPanel.add(Box.createHorizontalStrut(5));
        command = new JLabeledTextField(JMeterUtils.getResString("command_field_title"));
        cmdPanel.add(command);
        panel.add(cmdPanel, BorderLayout.NORTH);
        panel.add(makeArgumentsPanel(), BorderLayout.CENTER);
        panel.add(makeEnvironmentPanel(), BorderLayout.SOUTH);
        return panel;
View Full Code Here

    {
        setBorder (makeBorder());
        setLayout(new VerticalLayout(5, VerticalLayout.LEFT));
       
        startField =
            new JLabeledTextField(JMeterUtils.getResString("start")+"          ");//TODO proper alignment
        incrField =
            new JLabeledTextField(JMeterUtils.getResString("increment"));
        endField = new JLabeledTextField(JMeterUtils.getResString("max"));
        varNameField =
            new JLabeledTextField(JMeterUtils.getResString("var_name"));
        perUserField =
            new JCheckBox(JMeterUtils.getResString("counter_per_user"));

        add(makeTitlePanel());
        add(startField);
View Full Code Here

TOP

Related Classes of org.apache.jorphan.gui.JLabeledTextField

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.