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 bu...@apache.org on 2006/11/08 10:06:12 UTC

DO NOT REPLY [Bug 39717] - use icons in the results tree instead of colors

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39717





------- Additional Comments From rollantz@rollantz.nl  2006-11-08 01:06 -------
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.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org