I do not, the `populateTree` does ``` fun <T&gt...
# tornadofx
a
I do not, the
populateTree
does
Copy code
fun <T> populateTree(item: TreeItem<T>, itemFactory: (T) -> TreeItem<T>, childFactory: (TreeItem<T>) -> Iterable<T>?) {
    // add children to item and recursively call populateTree
    (children as? ObservableList<T>)?.addListener(ListChangeListener { change ->
        // if children is observable, hook to sync changes