Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Question about JTree and Matisse4MyEclipse
Question about JTree and Matisse4MyEclipse [message #197223] Thu, 01 March 2007 16:01
Eclipse UserFriend
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.
Previous Topic:How to make BIRT report in pdf format, kindly help.
Next Topic:Re-Starting Threads
Goto Forum:
  


Current Time: Thu Aug 29 23:25:19 GMT 2024

Powered by FUDForum. Page generated in 0.07772 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top