I have developed java application in netbeans IDE. I am using JList for my application. And I have 5 combobox on same frame. When I select number of combobox, values of that are added in JList. And when I deselect same combobox which I selected previous, values of that are get remove from JList.
I want to set event to JList so that I get count of items of JList each time when I add and removed item. I want to fire event without touching it or without grabbing focus. I also want to do some operations on same event.
So which event I should use? Please help