You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2013/10/02 09:02:22 UTC
svn commit: r1528322 -
/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
Author: pmouawad
Date: Wed Oct 2 07:02:22 2013
New Revision: 1528322
URL: http://svn.apache.org/r1528322
Log:
Bug 55606 - Use JSyntaxtTextArea for Http Request, JMS Test Elements
Scrollbar does not appear when text exceed height of JSyntaxTextArea
Bugzilla Id: 55606
Modified:
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java?rev=1528322&r1=1528321&r2=1528322&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java (original)
+++ jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java Wed Oct 2 07:02:22 2013
@@ -217,9 +217,6 @@ public class JMSPublisherGui extends Abs
messageContentPanel.add(new JTextScrollPane(textMessage), BorderLayout.CENTER);
mainPanel.add(messageContentPanel);
- Dimension pref = new Dimension(400, 150);
- textMessage.setPreferredSize(pref);
-
useProperties.addChangeListener(this);
useAuth.addChangeListener(this);
configChoice.addChangeListener(this);
@@ -267,6 +264,7 @@ public class JMSPublisherGui extends Abs
jmsUser.setText(sampler.getUsername());
jmsPwd.setText(sampler.getPassword());
textMessage.setInitialText(sampler.getTextMessage());
+ textMessage.setCaretPosition(0);
messageFile.setFilename(sampler.getInputFile());
randomFile.setFilename(sampler.getRandomPath());
configChoice.setText(sampler.getConfigChoice());