How can I highlight an item in the JList?

Possible duplicate:
Changing JList string color at runtime

I have a JList and I want to highlight (change the text color or something similar) of the selected item. I know there are ways to set which item is selected, but can I change the text color of that item, etc.

+2


a source to share





All Articles