1 | JPanel createPortPanel() {↵ | | 1 | JPanel createServernamePanel() {↵
|
2 | JPanel portPanel = new JPanel(new BorderLayout(5, 0));↵ | | 2 | JPanel serverPanel = new JPanel(new BorderLayout(5, 0));↵
|
3 | JLabel label = new JLabel(JMeterUtils.getResString("port")); // $NON-NLS-1$↵ | | 3 | JLabel label = new JLabel(JMeterUtils.getResString("servername")); // $NON-NLS-1$↵
|
4 | label.setLabelFor(port);↵ | | 4 | label.setLabelFor(↵
|
5 | port↵ | | 5 | servername);↵
|
6 | Panel.add(label, BorderLayout.WEST);↵ | | 6 | serverPanel.add(label, BorderLayout.WEST);↵
|
7 | portPanel.add(port, BorderLayout.CENTER);↵ | | 7 | serverPanel.add(servername, BorderLayout.CENTER);↵
|
8 | return portPanel;↵ | | 8 | return serverPanel;↵
|
9 | }↵ | | 9 | }↵
|
|
10 | /***************************************************************************↵ | | 10 | /***************************************************************************↵
|
11 | * This will create the Root distinguised name panel in the LdapConfigGui↵ | | 11 | * This will create the port panel in the LdapConfigGui↵
|
12 | **************************************************************************/↵ | | 12 | **************************************************************************/↵
|
13 | private JPanel createRootdnPanel() {↵ | | 13 | private JPanel createPortPanel() {↵
|
14 | JPanel rootdnPanel = new JPanel(new BorderLayout(5, 0));↵ | | 14 | JPanel portPanel = new JPanel(new BorderLayout(5, 0));↵
|
15 | JLabel label = new JLabel(JMeterUtils.getResString("ddn")); // $NON-NLS-1$↵ | | 15 | JLabel label = new JLabel(JMeterUtils.getResString("port")); // $NON-NLS-1$↵
|
16 | label.setLabelFor(rootdn);↵ | | 16 | label.setLabelFor(↵
|
17 | rootdn↵ | | 17 | port);↵
|
18 | Panel.add(label, BorderLayout.WEST);↵ | | 18 | portPanel.add(label, BorderLayout.WEST);↵
|
19 | rootdnPanel.add(rootdn, BorderLayout.CENTER);↵ | | 19 | portPanel.add(port, BorderLayout.CENTER);↵
|
20 | return rootdnPanel;↵ | | 20 | return portPanel;↵
|
21 | | | 21 |
|