When changing a TreeView by directly setting a new root and then calling focus(0), a binding present on "treeView.getFocusModel().focusedItemProperty()" will not be informed of the fact that the now focused item is a totally different object (although still at index 0). This causes other controls that display information about the currently focused item to not be updated.
A work-around seems to be to set the focus to -1 first, then to 0 again to trigger the proper update.
A work-around seems to be to set the focus to -1 first, then to 0 again to trigger the proper update.