Two JList
Let's say I have two JList: jList1 and jList2
Both come with an associated DefaultListModel.
I want to do the following: when I click on an item in jList1, for SOME items in jList2 the background color change.
Example: jList1 contains "Male" and "Female".
jList2, instead, contains "Steve", "Laura", "Bob", "Tim", "Jennifer".
I want that, when I click "Male", a blue background appear under "Steve", "Bob", "Tim".
Can someone help me please?
Can you please write some code to help me better?
Thx, goodbye

