jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1828073 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
Date Fri, 30 Mar 2018 18:16:46 GMT
Author: pmouawad
Date: Fri Mar 30 18:16:46 2018
New Revision: 1828073

URL: http://svn.apache.org/viewvc?rev=1828073&view=rev
Log:
Align code on RecorderDialog for future factorisation

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java?rev=1828073&r1=1828072&r2=1828073&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
Fri Mar 30 18:16:46 2018
@@ -854,6 +854,9 @@ public class ProxyControlGui extends Log
         samplerTypeName.setSelectedItem(USE_DEFAULT_HTTP_IMPL);
         samplerTypeName.addItemListener(this);
 
+        JLabel labelSamplerType = new JLabel(JMeterUtils.getResString("proxy_sampler_type"));
// $NON-NLS-1$
+        labelSamplerType.setLabelFor(samplerTypeName);
+
         samplerRedirectAutomatically = new JCheckBox(JMeterUtils.getResString("follow_redirects_auto"));
// $NON-NLS-1$
         samplerRedirectAutomatically.setSelected(false);
         samplerRedirectAutomatically.addActionListener(this);
@@ -881,19 +884,16 @@ public class ProxyControlGui extends Log
         httpSampleNamingMode.setName(HTTP_SAMPLER_NAMING_MODE);
         httpSampleNamingMode.addItemListener(this);
         
-        prefixHTTPSampleName = new JTextField(4);
+        prefixHTTPSampleName = new JTextField(20);
         prefixHTTPSampleName.addKeyListener(this);
         prefixHTTPSampleName.setName(PREFIX_HTTP_SAMPLER_NAME);
 
-        proxyPauseHTTPSample = new JTextField(6);
+        proxyPauseHTTPSample = new JTextField(10);
         proxyPauseHTTPSample.addKeyListener(this);
         proxyPauseHTTPSample.setName(PROXY_PAUSE_HTTP_SAMPLER);
         proxyPauseHTTPSample.setActionCommand(ENABLE_RESTART);
         JLabel labelProxyPause = new JLabel(JMeterUtils.getResString("proxy_pause_http_sampler"));
// $NON-NLS-1$
         labelProxyPause.setLabelFor(proxyPauseHTTPSample);
-
-        JLabel labelSamplerType = new JLabel(JMeterUtils.getResString("proxy_sampler_type"));
// $NON-NLS-1$
-        labelSamplerType.setLabelFor(samplerTypeName);
               
         GridBagLayout gridBagLayout = new GridBagLayout();
         GridBagConstraints gbc = new GridBagConstraints();



Mime
View raw message