changs from review

This commit is contained in:
ghidravore 2020-01-10 18:45:19 -05:00
parent 7cfa80f8ac
commit 4cab252ff5
2 changed files with 9 additions and 9 deletions

View file

@ -39,7 +39,7 @@ public abstract class GTreeLazyNode extends GTreeNode {
* Sets this lazy node back to the "unloaded" state such that if
* its children are accessed, it will reload its children as needed.
* NOTE: This method does not trigger a call to {@link #fireNodeChanged(GTreeNode, GTreeNode)}
* because doing will often trigger a call from the JTree will will immediately cause the node
* because doing so may trigger a call from the JTree that will immediately cause the node
* to reload its children. If that is the effect you want, call {@link #reload()}.
*/
public void unloadChildren() {
@ -50,9 +50,9 @@ public abstract class GTreeLazyNode extends GTreeNode {
/**
* Tells this node that its children are stale and that it needs to regenerate them. This will
* unload any existing children and call {@link #fireNodeStructureChanged(GTreeNode)} which will
* inform the JTree that this node has changed and when the JTree queries this node for its children,
* the {@link #generateChildren()} will get called to populate the node.
* unload any existing children and call {@link #fireNodeStructureChanged(GTreeNode)}, which will
* inform the JTree that this node has changed. Then, when the JTree queries this node for
* its children, the {@link #generateChildren()} will get called to populate the node.
*/
public void reload() {
if (isLoaded()) {