You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2008/11/12 20:57:26 UTC

svn commit: r713478 - /jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.java

Author: sebb
Date: Wed Nov 12 11:57:25 2008
New Revision: 713478

URL: http://svn.apache.org/viewvc?rev=713478&view=rev
Log:
No need to add label to JLabelledChoice

Modified:
    jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.java

Modified: jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.java?rev=713478&r1=713477&r2=713478&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.java (original)
+++ jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.java Wed Nov 12 11:57:25 2008
@@ -83,6 +83,7 @@
      * These have the values 0,1,2 so can be used as indexes in the array
      * as well as the value for the search itself.
      */
+    // TODO I18N
     private static final String[] SCOPE_STRINGS = new String[]{
         JMeterUtils.getResString("ldap_search_baseobject"),// $NON-NLS-1$
         JMeterUtils.getResString("ldap_search_onelevel"),// $NON-NLS-1$
@@ -489,12 +490,7 @@
     private JPanel createSCPanel() {
         VerticalPanel SCPanel = new VerticalPanel();
 
-        JPanel SC0Panel = new JPanel(new BorderLayout(5, 0));
-        JLabel label0 = new JLabel(JMeterUtils.getResString("scope")); // $NON-NLS-1$
-        label0.setLabelFor(scope);
-        SC0Panel.add(label0, BorderLayout.WEST);
-        SC0Panel.add(scope, BorderLayout.CENTER);
-        SCPanel.add(SC0Panel);
+        SCPanel.add(scope);
 
         JPanel SC1Panel = new JPanel(new BorderLayout(5, 0));
         JLabel label1 = new JLabel(JMeterUtils.getResString("countlim")); // $NON-NLS-1$



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org