mirror of https://github.com/apache/jmeter.git
Bug 59207 - Change the font color of errorsOrFatalsLabel to red when an error occurs
#resolve #172
Bugzilla Id: 59207
git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1736241 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: dd1941907a
This commit is contained in:
parent
bc839dcc70
commit
e7c3e462d0
|
|
@ -19,6 +19,7 @@
|
|||
package org.apache.jmeter.gui;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
import java.awt.Component;
|
||||
import java.awt.Cursor;
|
||||
import java.awt.Dimension;
|
||||
|
|
@ -844,6 +845,7 @@ public class MainFrame extends JFrame implements TestStateListener, Remoteable,
|
|||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
errorsOrFatalsLabel.setForeground(Color.RED);
|
||||
errorsOrFatalsLabel.setText(Integer.toString(newValue));
|
||||
}
|
||||
});
|
||||
|
|
@ -856,6 +858,7 @@ public class MainFrame extends JFrame implements TestStateListener, Remoteable,
|
|||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
errorsOrFatalsLabel.setForeground(Color.BLACK);
|
||||
errorsOrFatalsLabel.setText(Integer.toString(errorOrFatal.get()));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -278,6 +278,7 @@ Summary
|
|||
<li><bug>59105</bug>TableEditor : Add ability to paste rows from clipboard and delete multiple selection. Contributed by Vincent Herilier (vherilier at gmail.com)</li>
|
||||
<li><bug>59152</bug>Thread Group: Change "Action to be taken after a Sample Error" value from "Continue" to "Start Next thread loop". Contributed by Antonio Gomes Rodrigues (ra0077 at gmail.com)</li>
|
||||
<li><bug>59197</bug>Thread Group : it should be possible to only run a single threadgroup or a selection of threadgroups with a popup menu. Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
|
||||
<li><bug>59207</bug>Change the font color of errorsOrFatalsLabel to red when an error occurs. Contributed by Antonio Gomes Rodrigues (ra0077 at gmail.com)</li>
|
||||
</ul>
|
||||
<ch_section>Non-functional changes</ch_section>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue