Search in sources :

Example 1 with LoginConfigGui

use of org.apache.jmeter.config.gui.LoginConfigGui in project jmeter by apache.

the class FtpTestSamplerGui method init.

private void init() {
    // WARNING: called from ctor so must not be overridden (i.e. must be private or final)
    setLayout(new BorderLayout(0, 5));
    setBorder(makeBorder());
    add(makeTitlePanel(), BorderLayout.NORTH);
    VerticalPanel mainPanel = new VerticalPanel();
    ftpDefaultPanel = new FtpConfigGui(false);
    mainPanel.add(ftpDefaultPanel);
    loginPanel = new LoginConfigGui(false);
    // $NON-NLS-1$
    loginPanel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("login_config")));
    mainPanel.add(loginPanel);
    add(mainPanel, BorderLayout.CENTER);
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel) FtpConfigGui(org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui) BorderLayout(java.awt.BorderLayout) LoginConfigGui(org.apache.jmeter.config.gui.LoginConfigGui)

Example 2 with LoginConfigGui

use of org.apache.jmeter.config.gui.LoginConfigGui in project jmeter by apache.

the class TCPSamplerGui method init.

private void init() {
    // WARNING: called from ctor so must not be overridden (i.e. must be private or final)
    setLayout(new BorderLayout(0, 5));
    setBorder(makeBorder());
    add(makeTitlePanel(), BorderLayout.NORTH);
    VerticalPanel mainPanel = new VerticalPanel();
    tcpDefaultPanel = new TCPConfigGui(false);
    mainPanel.add(tcpDefaultPanel);
    loginPanel = new LoginConfigGui(false);
    // $NON-NLS-1$
    loginPanel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("login_config")));
    mainPanel.add(loginPanel);
    add(mainPanel, BorderLayout.CENTER);
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel) BorderLayout(java.awt.BorderLayout) LoginConfigGui(org.apache.jmeter.config.gui.LoginConfigGui) TCPConfigGui(org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui)

Example 3 with LoginConfigGui

use of org.apache.jmeter.config.gui.LoginConfigGui in project jmeter by apache.

the class LdapTestSamplerGui method init.

private void init() {
    // WARNING: called from ctor so must not be overridden (i.e. must be private or final)
    setLayout(new BorderLayout(0, 5));
    setBorder(makeBorder());
    // MAIN PANEL
    VerticalPanel mainPanel = new VerticalPanel();
    loginPanel = new LoginConfigGui(false);
    ldapDefaultPanel = new LdapConfigGui(false);
    // $NON-NLS-1$
    loginPanel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("login_config")));
    add(makeTitlePanel(), BorderLayout.NORTH);
    mainPanel.add(loginPanel);
    mainPanel.add(ldapDefaultPanel);
    add(mainPanel, BorderLayout.CENTER);
}
Also used : LdapConfigGui(org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui) VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel) BorderLayout(java.awt.BorderLayout) LoginConfigGui(org.apache.jmeter.config.gui.LoginConfigGui)

Aggregations

BorderLayout (java.awt.BorderLayout)3 LoginConfigGui (org.apache.jmeter.config.gui.LoginConfigGui)3 VerticalPanel (org.apache.jmeter.gui.util.VerticalPanel)3 FtpConfigGui (org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui)1 LdapConfigGui (org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui)1 TCPConfigGui (org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui)1