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

[560 byte] By [Nightfalla] at [2007-11-26 17:47:22]
# 1
Same type of thing as in this article. You'll have to adapt to your situation of course: http://java.sun.com/mailers/techtips/corejava/2006/tt1118.html#2
Jasprea at 2007-7-9 4:59:40 > top of Java-index,Desktop,Core GUI APIs...