woolfel 2004/01/12 19:16:19
Modified: src/protocol/http/org/apache/jmeter/protocol/http/control/gui
WebServiceSamplerGui.java
Log:
added note for use proxy and changed the default size for
the soap xml text area
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.8 +15 -2
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java
Index: WebServiceSamplerGui.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- WebServiceSamplerGui.java 9 Jan 2004 03:58:59 -0000 1.7
+++ WebServiceSamplerGui.java 13 Jan 2004 03:16:19 -0000 1.8
@@ -54,6 +54,7 @@
*/
package org.apache.jmeter.protocol.http.control.gui;
+import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.net.MalformedURLException;
@@ -178,6 +179,12 @@
JLabel readMessage3 =
new JLabel(JMeterUtils.getResString("read_response_note3"));
+ /**
+ * Text note for proxy
+ */
+ JLabel proxyMessage =
+ new JLabel(JMeterUtils.getResString("webservice_proxy_note"));
+
public WebServiceSamplerGui()
{
init();
@@ -321,6 +328,10 @@
mainPanel.add(urlField);
mainPanel.add(soapAction);
// OPTIONAL TASKS
+ // we create a preferred size for the soap text area
+ // the width is the same as the soap file browser
+ Dimension pref = new Dimension(400,200);
+ soapXml.setPreferredSize(pref);
mainPanel.add(soapXml);
mainPanel.add(soapXmlFile);
mainPanel.add(wsdlMessage);
@@ -340,7 +351,9 @@
useProxy.addActionListener(this);
mainPanel.add(proxyHost);
mainPanel.add(proxyPort);
-
+ proxyMessage.setFont(plainText);
+ mainPanel.add(proxyMessage);
+
this.add(mainPanel);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]