Apr 3, 2004 #1 riches85 Programmer Joined Nov 13, 2002 Messages 59 Location US Is there a way to generate a JTree that has all of it's nodes expanded at creation? If so, could someone possibly show some sample code? Thanks
Is there a way to generate a JTree that has all of it's nodes expanded at creation? If so, could someone possibly show some sample code? Thanks
Apr 3, 2004 #2 stefanwagner Programmer Joined Oct 19, 2003 Messages 2,373 Location DE If not, get the root, and open every child-node recursively. Upvote 0 Downvote
Apr 4, 2004 #3 sedj Programmer Joined Aug 6, 2002 Messages 5,610 the JTree tutorial : http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html Upvote 0 Downvote