public boolean isNodeRelated(DefaultMutableTreeNode node) {
public boolean isNodeRelated(DefaultMutableTreeNode node) { if (node == null) return false;
	public boolean isNodeRelated(DefaultMutableTreeNode node) {		// Sanity Check		if (node == null) {			return false;		} // if		// Check for the same root		if (node.getRoot() == getRoot()) {			return true;		} // if		// Nodes are not related		return false;	} // isNodeRelated()