I have a situation where the state of the JavaFX TreeView is not correct when the items are added to the root one by one which can be recreated with the code be
TreeView