I would like to create a JList in Java so that each individual item is formattted using HTML tags, but I'm not clear how to do this or even if this is possible. Does anyone have any suggestions?
Thank you.
Its actually very simple. For every string in the list surround it with the html tags such as this:
<html><font color=green>this will be green</font></html>
When the JList displays it it will be green.
2.1m questions
2.1m answers
60 comments
57.0k users