jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1513749 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
Date Wed, 14 Aug 2013 07:31:05 GMT
Author: milamber
Date: Wed Aug 14 07:31:05 2013
New Revision: 1513749

URL: http://svn.apache.org/r1513749
Log:
Synchronize design UI with HTTP Sampler for Embedded Resource box

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java?rev=1513749&r1=1513748&r2=1513749&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
Wed Aug 14 07:31:05 2013
@@ -32,7 +32,6 @@ import org.apache.commons.lang3.StringUt
 import org.apache.jmeter.config.ConfigTestElement;
 import org.apache.jmeter.config.gui.AbstractConfigGui;
 import org.apache.jmeter.gui.util.HorizontalPanel;
-import org.apache.jmeter.gui.util.VerticalPanel;
 import org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase;
 import org.apache.jmeter.testelement.AbstractTestElement;
 import org.apache.jmeter.testelement.TestElement;
@@ -150,13 +149,12 @@ public class HttpDefaultsGui extends Abs
         add(urlConfig, BorderLayout.CENTER);
 
         // OPTIONAL TASKS
-        final JPanel optionalTasksPanel = new VerticalPanel();
-        optionalTasksPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
JMeterUtils
-                .getResString("optional_tasks"))); // $NON-NLS-1$
+        final JPanel embeddedRsrcPanel = new HorizontalPanel();
+        embeddedRsrcPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
JMeterUtils
+                .getResString("web_testing_retrieve_title"))); // $NON-NLS-1$
 
-        final JPanel checkBoxPanel = new HorizontalPanel();
         imageParser = new JCheckBox(JMeterUtils.getResString("web_testing_retrieve_images"));
// $NON-NLS-1$
-        checkBoxPanel.add(imageParser);
+        embeddedRsrcPanel.add(imageParser);
         imageParser.addItemListener(new ItemListener() {
             @Override
             public void itemStateChanged(final ItemEvent e) {
@@ -176,16 +174,15 @@ public class HttpDefaultsGui extends Abs
         concurrentPool = new JTextField(2); // 2 columns size
         concurrentPool.setMinimumSize(new Dimension(10,20));
         concurrentPool.setMaximumSize(new Dimension(30,20));
-        checkBoxPanel.add(concurrentDwn);
-        checkBoxPanel.add(concurrentPool);
-        optionalTasksPanel.add(checkBoxPanel);
+        embeddedRsrcPanel.add(concurrentDwn);
+        embeddedRsrcPanel.add(concurrentPool);
         
         // Embedded URL match regex
-        embeddedRE = new JLabeledTextField(JMeterUtils.getResString("web_testing_embedded_url_pattern"),30);
// $NON-NLS-1$
-        optionalTasksPanel.add(embeddedRE);
+        embeddedRE = new JLabeledTextField(JMeterUtils.getResString("web_testing_embedded_url_pattern"),20);
// $NON-NLS-1$
+        embeddedRsrcPanel.add(embeddedRE);
 
         
-        add(optionalTasksPanel, BorderLayout.SOUTH);
+        add(embeddedRsrcPanel, BorderLayout.SOUTH);
     }
 
     @Override



Mime
View raw message