By default a JTree is displayed with only the root node expanded. I would like to display the tree completely expanded from the start since the most important information in my app are at the leaf nodes. Any ideas or links to good resources would be greatly appreciated. Thanks
Hi Ezra, As a quick and dirty approach I would do the following:
Joined: Apr 26, 2001
Thanks a bunch, my tree is now fully expanded when it starts. One last question: Within a folder the default is to display the subfolders first and then any leaves. Is it possible to reverse the order so that the leaves are first and then the folders ? Thanks.