java - Can Items in a JList be formatted as HTML -


I would like to create a jellist in Java so that each object can be formatted using HTML tags, but I'm not clear Does anyone have any suggestions on how to do it or even if it is possible?

Thank you.

This is really very simple, for every string in the list, it surrounds it like HTML tags Are:

  & lt; Html & gt; & Lt; Font color = green & gt; It will be green & lt; / Html & gt; & Lt; / Html & gt;  

When the JList displays it it will be green.


Comments