public void setDoubleClickExpansionEnabled(boolean b) {
		tree.setToggleClickCount(b ? 2 : 0);
	}
Enable or disable using double-click to open and close tree nodes.  The default is true.
@param b true to enable
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java