Package org.apache.jorphan.gui

Examples of org.apache.jorphan.gui.JLabeledTextField


    private JPanel createRegexpTasksPanel() {
        JPanel regexpActionPanel = new JPanel();
        regexpActionPanel.setLayout(new BoxLayout(regexpActionPanel, BoxLayout.X_AXIS));
        Border margin = new EmptyBorder(5, 5, 0, 5);
        regexpActionPanel.setBorder(margin);
        regexpField = new JLabeledTextField(JMeterUtils.getResString("regexp_tester_field")); // $NON-NLS-1$
        regexpActionPanel.add(regexpField, BorderLayout.WEST);

        JButton regexpTester = new JButton(JMeterUtils.getResString("regexp_tester_button_test")); // $NON-NLS-1$
        regexpTester.setActionCommand(REGEXP_TESTER_COMMAND);
        regexpTester.addActionListener(this);
View Full Code Here


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

        VerticalPanel mainPanel = new VerticalPanel();
        classname = new JLabeledTextField(JMeterUtils.getResString("tcp_classname"));
        mainPanel.add(classname);
        mainPanel.add(serverPanel);
       
        HorizontalPanel optionsPanel = new HorizontalPanel();
        optionsPanel.add(createClosePortPanel());
View Full Code Here

        this.setBorder(margin);

        // Add the main panel and the graph
        this.add(this.makeTitlePanel(), BorderLayout.NORTH);
        this.createTabs();
        prefixField = new JLabeledTextField(JMeterUtils.getResString("monitor_label_prefix")); // $NON-NLS-1$
        add(prefixField, BorderLayout.SOUTH);
    }
View Full Code Here

        return panel;
    }

    private JPanel makeParameterPanel() {
        regexField = new JLabeledTextField(JMeterUtils.getResString("regex_field")); //$NON-NLS-1$
        templateField = new JLabeledTextField(JMeterUtils.getResString("template_field")); //$NON-NLS-1$
        defaultField = new JLabeledTextField(JMeterUtils.getResString("default_value_field")); //$NON-NLS-1$
        refNameField = new JLabeledTextField(JMeterUtils.getResString("ref_name_field")); //$NON-NLS-1$
        matchNumberField = new JLabeledTextField(JMeterUtils.getResString("match_num_field")); //$NON-NLS-1$

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

        setLayout(new BorderLayout());
        setBorder(makeBorder());

        add(makeTitlePanel(), BorderLayout.NORTH);

        urlField = new JLabeledTextField(JMeterUtils.getResString("url"), 10); //$NON-NLS-1$
        soapXml = new JLabeledTextArea(JMeterUtils.getResString("soap_data_title")); //$NON-NLS-1$
        soapAction = new JLabeledTextField("", 10); //$NON-NLS-1$
        sendSoapAction = new JCheckBox(JMeterUtils.getResString("soap_send_action"), true); //$NON-NLS-1$
        useKeepAlive = new JCheckBox(JMeterUtils.getResString("use_keepalive")); // $NON-NLS-1$

        JPanel mainPanel = new JPanel(new BorderLayout());
        JPanel soapActionPanel = new JPanel();
View Full Code Here

        checkBoxPanel.add(isMon);
        checkBoxPanel.add(useMD5);
        optionalTasksPanel.add(checkBoxPanel);

        // Embedded URL match regex
        embeddedRE = new JLabeledTextField(JMeterUtils.getResString("web_testing_embedded_url_pattern"),30); // $NON-NLS-1$
        optionalTasksPanel.add(embeddedRE, BorderLayout.CENTER);

        if (!isAJP) {
            // Add a new field source ip address (for HC implementations only)
            sourceIpAddr = new JLabeledTextField(JMeterUtils.getResString("web_testing2_source_ip")); // $NON-NLS-1$
            optionalTasksPanel.add(sourceIpAddr, BorderLayout.EAST);
        }

        return optionalTasksPanel;
    }
View Full Code Here

        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

        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

    }

    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

        add(makeTitlePanel(), BorderLayout.NORTH);

        VerticalPanel mainPanel = new VerticalPanel();

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

        pathExt =
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.