Package us.thinkable.nlpbuddy

Source Code of us.thinkable.nlpbuddy.Main

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);
  }
}
TOP

Related Classes of us.thinkable.nlpbuddy.Main

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.