Example #1
0
  /** Launch the application. */
  public static void main(String[] args) {
    logic1 = new TDNextLogicAPILocal();
    parsedInfo = logic1.startProgram();

    Thread dynamicRefresh = new Thread(new RThread());
    dynamicRefresh.start();

    EventQueue.invokeLater(
        new Runnable() {
          public void run() {
            try {
              UIMaple frame = new UIMaple();
              frame.setVisible(true);
            } catch (Exception e) {
              e.printStackTrace();
            }
          }
        });
  }
Example #2
0
 private static void passInput(String input) {
   ArrayList<TaskLocal> output = new ArrayList<TaskLocal>();
   output = logic1.executeCommand(input);
   parsedInfo = output;
 }