Package org.apache.jorphan.gui.layout

Examples of org.apache.jorphan.gui.layout.VerticalLayout


  public JPanel createCookieTablePanel()
  {
    Border margin = new EmptyBorder(5, 10, 10, 10);

    JPanel tempPanel = new JPanel();
    tempPanel.setLayout(new VerticalLayout(0, VerticalLayout.CENTER));
    tempPanel.setBorder(new CompoundBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), JMeterUtils.getResString("cookies_stored")), margin));

    // create the JTable that holds one cookie per row
    cookieTable = new JTable(tableModel);
    cookieTable.setCellSelectionEnabled(true);
View Full Code Here


    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;
    title.setFont(new Font(curFont.getFontName(), curFont.getStyle(), curFontSize));
View Full Code Here

    return filenamePanel;
  }

  private void init()
  {
    this.setLayout(new VerticalLayout(1, VerticalLayout.LEFT));
    if(displayName)
    {
      this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));

      // MAIN PANEL
      JPanel mainPanel = new JPanel();
      Border margin = new EmptyBorder(10, 10, 5, 10);
      mainPanel.setBorder(margin);
      mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

      // TITLE
      JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("ftp_sample_title"));
      Font curFont = panelTitleLabel.getFont();
      int curFontSize = curFont.getSize();
View Full Code Here

    return sampler;
  }
 
  private void init()
  {
    this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));

    // MAIN PANEL
    JPanel mainPanel = new JPanel();
    Border margin = new EmptyBorder(10, 10, 5, 10);
    mainPanel.setBorder(margin);
    mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

    // TITLE
    JLabel panelTitleLabel = new JLabel(label);
    Font curFont = panelTitleLabel.getFont();
    int curFontSize = curFont.getSize();
View Full Code Here

    return sampler;
  }

  private void init()
  {
    this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));

    // MAIN PANEL
    JPanel mainPanel = new JPanel();
    Border margin = new EmptyBorder(10, 10, 5, 10);
    mainPanel.setBorder(margin);
    mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

    // TITLE
    JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("database_testing_title"));
    Font curFont = panelTitleLabel.getFont();
    int curFontSize = curFont.getSize();
View Full Code Here

    init();
  }

  protected void init()
  {
    this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));

    JPanel classnameRequestPanel = new JPanel();
    classnameRequestPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));
    classnameRequestPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), JMeterUtils.getResString("protocol_java_border")));
    classnameRequestPanel.add(getClassnamePanel());
    classnameRequestPanel.add(getParameterPanel());

    if (displayName)
    {
      // MAIN PANEL
      JPanel mainPanel = new JPanel();
      Border margin = new EmptyBorder(10, 10, 5, 10);
      mainPanel.setBorder(margin);
      mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

      // TITLE
      JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("protocol_java_config_tile"));
      Font curFont = panelTitleLabel.getFont();
      int curFontSize = curFont.getSize();
View Full Code Here

    // fields (not the TITLE and NAME).

    // Standalone
    if(displayName)
    {
      this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));

      // MAIN PANEL
      JPanel mainPanel = new JPanel();
      Border margin = new EmptyBorder(10, 10, 5, 10);
      mainPanel.setBorder(margin);
      mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

      // TITLE
      JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("loop_controller_title"));
      Font curFont = panelTitleLabel.getFont();
      int curFontSize = curFont.getSize();
View Full Code Here

    return JMeterUtils.getResString("ThreadGroup");
  }

  private void init()
  {
    this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));

    // MAIN PANEL
    JPanel mainPanel = new JPanel();
    Border margin = new EmptyBorder(10, 10, 5, 10);
    mainPanel.setBorder(margin);
    mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

    // TITLE
    JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("thread_group_title"));
    Font curFont = panelTitleLabel.getFont();
    int curFontSize = curFont.getSize();
    curFontSize += 4;
    panelTitleLabel.setFont(new Font(curFont.getFontName(), curFont.getStyle(), curFontSize));
    mainPanel.add(panelTitleLabel);

    // NAME
    namePanel = new NamePanel();
    mainPanel.add(namePanel);

    // THREAD PROPERTIES
    JPanel threadPropsPanel = new JPanel();
    margin = new EmptyBorder(5, 10, 10, 10);
    threadPropsPanel.setLayout(new VerticalLayout(0, VerticalLayout.LEFT));
    threadPropsPanel.setBorder(new CompoundBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), JMeterUtils.getResString("thread_delay_properties")), margin));

    // NUMBER OF THREADS
    JPanel threadPanel = new JPanel();
    JLabel threadLabel = new JLabel(JMeterUtils.getResString("number_of_threads"));
View Full Code Here

  private void init()
  {
    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"));
View Full Code Here

    // MAIN PANEL
    JPanel mainPanel = new JPanel();
    Border margin = new EmptyBorder(10, 10, 5, 10);
    mainPanel.setBorder(margin);
    mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

    // TITLE
    JLabel panelTitleLabel = new JLabel(JMeterUtils.getResString("spline_visualizer_title"));
    Font curFont = panelTitleLabel.getFont();
    int curFontSize = curFont.getSize();
View Full Code Here

TOP

Related Classes of org.apache.jorphan.gui.layout.VerticalLayout

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.