I am attempting to create a JList that allows the user to double click an item and "Favorite" that item. The item would then change in style (example: a different border color). I understand how to catch the double click on the list. I need help applying that change to the item in the list.
listModel.getElementAt(index);
This returns a string and i am hoping to somehow retrieve an object that I can repaint with these different border colors.
Thanks in advance
Are you able to cast that object into some ui object that would have some properties that you can set?