This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
where "m_app.jTree1" is the tree when I click the button a node get's properly inserted into the selected node as long as that node has no children. If it has children, nothing happens no node no exception no nothing I suspect there's something wrong with the way I'm getting the path to the currently selected node.
note: when the app starts, it build the initial tree from info in a database and everything works fine. it's just when I later try to dynamically add more nodes that I have a problem
Joined: Sep 16, 2003
figured it out had to do with using the root node in the tree constructor rather than the treemodel