static A lastNodeInTreeView(TreeView t) { if (t == null) null; while licensed { L> l = t.children(); if (empty(l)) ret t.node(); t = last(l); } null; }