Package semestralka

Examples of semestralka.AutomatConstructor


        this.caller = caller;
    }
   
    @Override
    public void actionPerformed(ActionEvent e) {
        AutomatConstructor a = new AutomatConstructor();
        Expression ex = new Expression(caller.input.getText(),true);
        if(ex.isValid()){
            caller.app.setAutomat(a.Construct(ex));
            caller.log.add(a.getLog());
            caller.log.repaint();
            caller.setCanvasImage(caller.app.generateGraphFile());
        }
        else
            JOptionPane.showMessageDialog(caller, "Invalid expression!");
View Full Code Here

TOP

Related Classes of semestralka.AutomatConstructor

Copyright © 2018 www.massapicom. 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.