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 "Stiepel, Jochen" <Jo...@Dresdner-Bank.com> on 2002/09/04 15:50:19 UTC

WrapLines in "View Results in Tree"

Hello Mike,

I have make some changes in ViewResultsFullVisualizer.java.
Now all Lines breaks after 70 chars. I think this is usefull, because I get
xml data back an that have no "\n" and so it is only one large row.
So please change Line 304 and more to this:

				if(response != null)
				{	
					JTextArea textArea = new
JTextArea();
					textArea.setText(response);

					textArea.setColumns(70);
					textArea.setLineWrap(true);
					textArea.setWrapStyleWord(true);

					gbc.gridx = 0;
					gridBag.setConstraints(textArea,
gbc);
					resultPanel.add(textArea);
				}


And please change Line 197 in file TableDataModel.java to this:

				return new Integer(rowIndex+1);

That causes the "View Results in a Table" to starts with 1 to count the
Sample No.

Thank you


Jochen Stiepel


Dresdner Bank AG
Unternehmensbereich P&G IT
Systeme für Produkte und Vertrieb
IT-Globale Multikanal Services
Jürgen-Ponto-Platz 1
60301 Frankfurt/Main

Tel	(069) 2 63-15 9 26
*	(069) 2 63-5 01 50
*	mailto:Jochen.Stiepel@Dresdner-Bank.com
"	http://www.Dresdner-Bank.de




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>