The constructor calls the DefaultMutableTreeNode constructor, passing the name of the
BookOutlineItem as the UserObject (which will also be displayed as the label)
The constructor calls the DefaultMutableTreeNode constructor, passing the name of the
BookOutlineItem as the UserObject (which will also be displayed as the label).
The constructor calls the DefaultMutableTreeNode constructor, passing the name of the
BookOutlineItem as the UserObject (which will also be displayed as the label).
This constructor creates a brand-new BookOutlineItem, and therefore needs all the information
necessary in order to insert the new item into the tree at the correct point.