Parent Directory | Revision Log | Patch
revision 1.16 by langel, Thu Sep 1 15:16:15 2005 UTC | revision 1.17 by langel, Fri Oct 14 22:37:07 2005 UTC | |
---|---|---|
# | Line 299 public class DefaultTreeModel | Line 299 public class DefaultTreeModel |
299 | public void insertNodeInto(MutableTreeNode newChild, MutableTreeNode parent, | public void insertNodeInto(MutableTreeNode newChild, MutableTreeNode parent, |
300 | int index) | int index) |
301 | { | { |
302 | newChild.setParent(parent); | |
303 | parent.insert(newChild, index); | parent.insert(newChild, index); |
304 | int[] childIndices = new int[1]; | int[] childIndices = new int[1]; |
305 | childIndices[0] = index; | childIndices[0] = index; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |