package us.thinkable.nlpbuddy;
import java.io.File;
import javax.swing.JButton;
import us.thinkable.framework.editor.XEditor;
import us.thinkable.framework.editor.XHtmlEditor;
import us.thinkable.framework.editor.XStatusEditor;
import us.thinkable.framework.editor.XTableEditor;
import us.thinkable.framework.editor.XTextEditor;
import us.thinkable.framework.frame.XSimpleAccess;
import us.thinkable.framework.tool.XTool;
import us.thinkable.framework.tool.XTreeTool;
import us.thinkable.framework.util.XDB;
import us.thinkable.framework.util.XNode;
import us.thinkable.framework.zed.XUtil;
public class Main {
public static XStatusEditor statusEditor = null;
public static GraphEditor nlpEditor = null;
public static void main(String s[]) {
//create the frame
XDB.init(new File("nlpbuddy.db"));
//XSimpleAccess access = new XSimpleAccess(new File("resources/access.txt"));
MyFrame frame = new MyFrame("Example", "resources/nlpbuddy.menu", null);
statusEditor = new XStatusEditor(frame, "Status", null);
nlpEditor = new GraphEditor(frame, "NLPEditor", null);
statusEditor.addText("Welcome to NLPBuddy");
frame.setVisible(true);
}
}