XSimpleAccess access = new XSimpleAccess(new File("resources/access.txt"));
MyFrame frame = new MyFrame("Example", "resources/framework.menu", access);
tool = new BoringTool(frame, "Boring", "resources/read.menu");
treeTool = new BoringTree(frame, "Tree", "resources/tree.menu");
XNode root = new XNode("root");
XNode thing1 = new XNode(root, "thing1");
XNode thing2 = new XNode(root, "thing2");
treeTool.setRoot(root);
// create a text panel
readPanel = new XTextEditor(frame, "Read", "resources/read.menu");
readPanel.setEditable(false);