woolfel 2004/12/24 09:12:55
Modified: src/monitor/components/org/apache/jmeter/visualizers
MonitorPerformancePanel.java
Log:
I changed the order of the legends to make it so health is on the
far right side. that hopefully makes more sense, since health is the
only one that applies to the health legends for the graph.
peter
Revision Changes Path
1.7 +9 -7
jakarta-jmeter/src/monitor/components/org/apache/jmeter/visualizers/MonitorPerformancePanel.java
Index: MonitorPerformancePanel.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/monitor/components/org/apache/jmeter/visualizers/MonitorPerformancePanel.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MonitorPerformancePanel.java 6 Jun 2004 22:22:20 -0000 1.6
+++ MonitorPerformancePanel.java 24 Dec 2004 17:12:55 -0000 1.7
@@ -164,12 +164,7 @@
JPanel legend = new JPanel();
legend.setLayout(new FlowLayout());
- JLabel health = new JLabel(LEGEND_HEALTH);
- health.setFont(plaintext);
- health.setPreferredSize(lsize);
- health.setIcon(LEGEND_HEALTH_ICON);
- legend.add(health);
-
+
JLabel load = new JLabel(LEGEND_LOAD);
load.setFont(plaintext);
load.setPreferredSize(lsize);
@@ -187,6 +182,13 @@
thd.setPreferredSize(lsize);
thd.setIcon(LEGEND_THREAD_ICON);
legend.add(thd);
+
+ JLabel health = new JLabel(LEGEND_HEALTH);
+ health.setFont(plaintext);
+ health.setPreferredSize(lsize);
+ health.setIcon(LEGEND_HEALTH_ICON);
+ legend.add(health);
+
return legend;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]