Package org.apache.jorphan.gui

Examples of org.apache.jorphan.gui.JLabeledTextField


        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


    {
        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);
View Full Code Here

                    automaticRedirect.setEnabled(true);
                }
            }
        });
        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);
View Full Code Here

        jmxDataPanel.add(label);
        usedMemoryType = new JComboBox(new String[] { JmxSampler.HEAP_MEM });
        // usedMemoryType = new JComboBox(new String[] { JmxSampler.HEAP_MEM,
        // JmxSampler.NON_HEAP_MEM});
        jmxDataPanel.add(usedMemoryType);
        samplingFrequency = new JLabeledTextField("Sampling Frequency (sec)", 5);
        jmxDataPanel.add(samplingFrequency);
        add(jmxDataPanel);
    }
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

    }

    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

    panelTitleLabel.setFont(new Font(curFont.getFontName(), curFont.getStyle(), curFontSize));
    mainPanel.add(panelTitleLabel);

    // NAME
    mainPanel.add(getNamePanel());
    argumentName = new JLabeledTextField(JMeterUtils.getResString("session_argument_name"));
    mainPanel.add(argumentName);
    pathExt = new JCheckBox(JMeterUtils.getResString("Path_Extension_choice"));
   
    mainPanel.add(pathExt)
View Full Code Here

    Border margin = new EmptyBorder(10, 10, 5, 10);
    this.setBorder(margin);
    this.setLayout(new BorderLayout());
    argPanel = new HTTPArgumentsPanel();
    this.add(argPanel,BorderLayout.CENTER);
    protocol = new JLabeledTextField(JMeterUtils.getResString("url_config_protocol"));
    domain = new JLabeledTextField(JMeterUtils.getResString("web_server_domain"));
    path = new JLabeledTextField(JMeterUtils.getResString("path"));
    port = new JLabeledTextField(JMeterUtils.getResString("web_server_port"));
    JPanel topPanel = new JPanel(new VerticalLayout(5,VerticalLayout.LEFT));
    JLabel title = new JLabel(JMeterUtils.getResString("url_config_title"));
    Font curFont = title.getFont();
    int curFontSize = curFont.getSize();
    curFontSize += 4;
View Full Code Here

  {
    this.setBorder(BorderFactory.createTitledBorder(
        BorderFactory.createEmptyBorder(5,10,5,5),
        JMeterUtils.getResString("counter_config_title")));
    this.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(getNamePanel());
    add(startField);
    add(incrField);
    add(endField);
View Full Code Here

    helpButton.addActionListener(new HelpListener());
    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);
    resultsPanel.add(generateButton);
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.