public StackPanel createDemo() {
// inject default styles
FastTree.injectDefaultCss();
StackPanel p = new StackPanel();
if (LocaleInfo.getCurrentLocale().isRTL()) {
p.add(hebrewTree(), "עץ עברי");
}
p.add(basicTree(), "Basic tree");
p.add(lazyTree(), "Lazy tree");
p.add(verboseTree(), "Verbose tree");
p.add(crazyTree(), "Crazy tree");
p.add(dynamicTree(), "Dynamic tree");
p.add(cancelEventTree(), "Cancel event tree");
return p;
}