how to use the CollapsePath in Tree Component codename one
using Tree component using the collapsePath cause null pointer exception due to container = this .... how to solve this issue .. i am specified the arguments as string obj of parent, child, child can you specify the how to use collapsePath and expandPath i have tried using both the expandPath and collapsePath but both causing the same problem
Tree dt = new Tree(new StringArrayTreeModel()); dt.collapsePath("Colors","Red","df","gf");