/** 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(); } } }); }
private static void passInput(String input) { ArrayList<TaskLocal> output = new ArrayList<TaskLocal>(); output = logic1.executeCommand(input); parsedInfo = output; }