Bug 39717 - use icons in the results tree instead of colors
use icons in the results tree instead of colors
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
unspecified
Other other
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-06-04 16:33 UTC by Ronald van de Kuil
Modified: 2007-02-28 14:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald van de Kuil 2006-06-04 16:33:33 UTC
Hello, about 10% of the people are color blind. Some can't distinguish between
the red and black colors in the results tree. 

Can the icon of the results tree to be changed to use an icon that shows the
assertion outcome. E.g. a green checkmark or a red cross?
Comment 1 Sebb 2006-06-04 16:46:15 UTC
Do you mean the Listener "View Results Tree" ?
Comment 2 Ronald van de Kuil 2006-11-08 01:06:12 UTC
Hello Sebb,

Sorry but I have overlooked the e-mail request for feedback. But better late
than never.

It is the "View Result Tree" which is added by Add , Listener, View Result Tree

The JList there has allready got a renderer. The renderer probably extends a
JLabel. There will be a code section that makes the JLabel red or black
depending on the assertion result.

Here you can add something like:

setIcon(new ImageIcon((getClass()).getResource("/pictures/OK.gif")));

or 

setIcon(new ImageIcon((getClass()).getResource("/pictures/NOK.gif")));

There a various icon libraries you can use:
- the james dean icon collection which is BSD licensed;
- the java look and feel graphics repository under the SUN license;

I hope this clarifies the issue.
Comment 3 Sebb 2007-02-28 14:10:28 UTC
Thanks for the suggestion, which will appear in the next release.