import jexer.*;
import jexer.event.*;
+import jexer.ttree.*;
import static jexer.TCommand.*;
import static jexer.TKeypress.*;
/**
* Hang onto my TTreeView so I can resize it with the window.
*/
- private TTreeView treeView;
+ private TTreeViewWidget treeView;
/**
* Public constructor.
super(parent, "Tree View", 0, 0, 44, 16, TWindow.RESIZABLE);
// Load the treeview with "stuff"
- treeView = addTreeView(1, 1, 40, 12);
+ treeView = addTreeViewWidget(1, 1, 40, 12);
new TDirectoryTreeItem(treeView, ".", true);
statusBar = newStatusBar("Treeview demonstration");