Hello,
I am making an IM client using the smack library. It is a GUI client, and I have a question about JList. Assuming I have established a connection and all that using a valid id and password, how do I load the Roster (of my buddies) into JList so that when I double click on a contact, I can notify a listener to open a chat window gui (which I have made separately)? I’m mainly confused about JList, as I only know how to add string items to it that have no listeners attached to each of them.
Thanks.