posted 20 years ago
Hi,
Here is a question that I have about JTree. I want to display hierarchial data using JTree. I dont think I have a problem doing the usual JTree display with collapse and expand. However I would like to implement the following functionality.
When a user right clicks on a node he/she should be able to make that the root of the tree. Can someone help me understand how I can go about implementing this functionality.
Thanks in advance.