Question about JTree and Matisse4MyEclipse [message #197223] |
Thu, 01 March 2007 16:01 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: lonewolf32us.yahoo.com
All of the JTree examples I find online involve building the tree node
structure up front, and then attaching the root node to the tree using
the JTree constructor:
JTree jTree = new JTree(root);
But when I place a JTree on a form using Matisse, it creates the JTree
with no root node:
JTree jTree = new JTree();
and surrounds the statement with a warning saying this code should not
be modified as it will be auto-updated by Matisse.
Is there a way to add a root node to a JTree after the constructor has
been called? Also is there a way to add more child nodes as well?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.07772 seconds