I am using threads to create a network instant messenger program, and I need to update the contact list, which is a JTree. The Jtree is inside a JScrollPane inside a JFrame.
I have implemented methods from "ChatListener" to detect the users on the network and any incoming chat requests. When the users change, I have to update the JTree, but I cannot get it to actually update on the screen.
I have a class variable JTree tree, which I have modified (to no avail).
Thank you for any help,
Ian
I have implemented methods from "ChatListener" to detect the users on the network and any incoming chat requests. When the users change, I have to update the JTree, but I cannot get it to actually update on the screen.
I have a class variable JTree tree, which I have modified (to no avail).
Thank you for any help,
Ian