Package org.apache.jmeter.gui.util

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


        if (infinite.isSelected()) {
            loops.setText(""); // $NON-NLS-1$
            loops.setEnabled(false);
        } else {
            loops.setEnabled(true);
            new FocusRequester(loops);
        }
    }
View Full Code Here


     *
     * @param event
     *            the event that has occurred
     */
    public void actionPerformed(ActionEvent event) {
        new FocusRequester(theCondition);
    }
View Full Code Here

        threadDelayPropsPanel.add(avgDelayPanel);

        add(threadDelayPropsPanel);

        // Set the initial focus to the range field
        new FocusRequester(rangeField);
    }
View Full Code Here

        threadDelayPropsPanel.add(avgDelayPanel);
        threadDelayPropsPanel.setMaximumSize(new Dimension(threadDelayPropsPanel.getMaximumSize().width, threadDelayPropsPanel.getPreferredSize().height));
        add(threadDelayPropsPanel);

        // Set the initial focus to the delay field
        new FocusRequester(rangeField);
    }
View Full Code Here

            loops.setEnabled(false);
        }
        else
        {
            loops.setEnabled(true);
            new FocusRequester(loops);
        }
    }
View Full Code Here

   * target component is the infinite loops checkbox.
   *
   * @param event the event that has occurred
   */
  public void actionPerformed(ActionEvent event) {
    new FocusRequester(theCondition);
  }
View Full Code Here

   * target component is the infinite loops checkbox.
   *
   * @param event the event that has occurred
   */
  public void actionPerformed(ActionEvent event) {
    new FocusRequester(theCondition);
  }
View Full Code Here

      loops.setEnabled(false);
    }
    else
    {
      loops.setEnabled(true);
      new FocusRequester(loops);
    }
  }
View Full Code Here

    threadInput.setText("1");
    threadInput.addFocusListener(NumberFieldErrorListener.getNumberFieldErrorListener());
    threadInput.setName(THREAD_NAME);
    threadPanel.add(threadInput);
    threadPropsPanel.add(threadPanel);
    new FocusRequester(threadInput);

    // RAMP-UP
    JPanel rampPanel = new JPanel();
    JLabel rampLabel = new JLabel(JMeterUtils.getResString("ramp_up"));
    rampPanel.add(rampLabel);
View Full Code Here

    threadDelayPropsPanel.add(avgDelayPanel);

    this.add(mainPanel);

    // Set the initial focus to the range field
    new FocusRequester(rangeField);
  }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.gui.util.FocusRequester

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.