change icon « JTree « Java Swing Q&A





1. How can i change view to a JTree?    stackoverflow.com

it's possible, and how, to change a view to a jTree ? i would like this http://ksprog.net/fig52.JPG Thanks

2. How to make a JTree respond to changes in the Hashtable    forums.oracle.com

Hi, Can anyone give the classes and methods from which I can make the JTree reflect to changes in the Hashtable. Im using the hashtable to construct a JTree but changes in hashtable are not reflected to the JTree. I used tree.updateUI(). It works if I insert to a collapsed node. In case a node is expanded and if I add ...