There is a SWING forum, you know?
Anyways, go with ItemListener. You will get two events for clicks, one for the newly selected item and one for the newly deselected item. If you are only interested in one of the two, add a condition that reacts on the ItemEvent.stateChange property, see http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ItemEvent.html#getStateChange()
> sorry I didn't know... where can I find the swing forum?
Excuse me, I mentioned it to you at least 4 time before:
http://forum.java.sun.com/thread.jspa?threadID=5180793
http://forum.java.sun.com/thread.jspa?threadID=5184310
http://forum.java.sun.com/thread.jspa?threadID=5184821
http://forum.java.sun.com/thread.jspa?threadID=5185488
Thats why I've stopped answering questions. Why waste time answering if you don't even take the time to read the answers.