The "Dynamic Tree" demo doesn't work with ZK 5.0.7.1
The main problem is that nodes added via the methods in AdvancedTreeModel don't get a valid parent. Also, calling getChildren() on DefaultTreeNode returns null until a node was added for that node. So the code throws many NullPointerExceptions.