Package testHarnesses

Source Code of testHarnesses.testParser

package testHarnesses;

import javax.swing.JFrame;

import lipstone.joshua.parser.Parser;
import lipstone.joshua.parser.plugin.PluginController;
import testHarnesses.originalGUI.ParserGUI;

public class testParser {
 
  public static void main(String[] args) {
    final Parser parser = new Parser();
    PluginController pc = new PluginController(parser);
    pc.setAutomaticStackPrinting(true);
    final JFrame frame = new JFrame("Equation Parser");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.add(new ParserGUI(parser));
   
    frame.pack();
    frame.setVisible(true);
  }
}
TOP

Related Classes of testHarnesses.testParser

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.