Search in sources :

Example 1 with LdapConfigGui

use of org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui 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)1 LoginConfigGui (org.apache.jmeter.config.gui.LoginConfigGui)1 VerticalPanel (org.apache.jmeter.gui.util.VerticalPanel)1 LdapConfigGui (org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui)1