Search in sources :

Example 21 with VerticalLayout

use of org.apache.jorphan.gui.layout.VerticalLayout in project jmeter by apache.

the class TransactionControllerGui method init.

/**
     * Initialize the GUI components and layout for this component.
     */
private void init() {
    // WARNING: called from ctor so must not be overridden (i.e. must be private or final)
    setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    setBorder(makeBorder());
    add(makeTitlePanel());
    // $NON-NLS-1$
    generateParentSample = new JCheckBox(JMeterUtils.getResString("transaction_controller_parent"));
    add(CheckBoxPanel.wrap(generateParentSample));
    // $NON-NLS-1$
    includeTimers = new JCheckBox(JMeterUtils.getResString("transaction_controller_include_timers"), true);
    add(CheckBoxPanel.wrap(includeTimers));
}
Also used : JCheckBox(javax.swing.JCheckBox) VerticalLayout(org.apache.jorphan.gui.layout.VerticalLayout)

Aggregations

VerticalLayout (org.apache.jorphan.gui.layout.VerticalLayout)21 JCheckBox (javax.swing.JCheckBox)12 JLabel (javax.swing.JLabel)11 JPanel (javax.swing.JPanel)11 JTextField (javax.swing.JTextField)8 BorderLayout (java.awt.BorderLayout)6 FlowLayout (java.awt.FlowLayout)4 Box (javax.swing.Box)4 Dimension (java.awt.Dimension)3 BoxLayout (javax.swing.BoxLayout)2 ButtonGroup (javax.swing.ButtonGroup)2 DefaultComboBoxModel (javax.swing.DefaultComboBoxModel)2 JButton (javax.swing.JButton)2 HorizontalPanel (org.apache.jmeter.gui.util.HorizontalPanel)2 PowerTableModel (org.apache.jmeter.gui.util.PowerTableModel)2 JLabeledTextField (org.apache.jorphan.gui.JLabeledTextField)2 Color (java.awt.Color)1 Format (java.text.Format)1 SimpleDateFormat (java.text.SimpleDateFormat)1 Comparator (java.util.Comparator)1