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);
String file = XUtil.readFile(new File("resources/framework.menu"));
readPanel.setText(file);
statusPanel = new XStatusEditor(frame, "Status", null);
tablePanel = new XTableEditor(frame, "Table", null);
tablePanel.setData(columnNames, data);
// create the example panel
examplePanel = new ExamplePanel(frame, "Example", null);
// create a text panel
textPanel = new XTextEditor(frame, "Text", "resources/text.menu");
statusPanel.addText("Hello World");
formPanel = new MyFormPanel(frame, "Form", null, "resources/test.form");