Examples of EniacCodeConverter


Examples of br.com.gmartins.simbler.importer.EniacCodeConverter

        fc.setAcceptAllFileFilterUsed(false); // Retira "All Files"
        fc.addChoosableFileFilter(new FileFilterEniac()); // Adiciona o Filtro
        int returnVal = fc.showOpenDialog(fc);
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            MainPanel panel = new MainPanel();
            EniacCodeConverter eniac = new EniacCodeConverter(this.getMainPanel());
            // Define o diretório pai do arquivo selecionado como último caminho usado.
            properties.setProperty(PropertiesConstants.LAST_PATH, fc.getSelectedFile().getParent());
            eniac.setSourceFile(fc.getSelectedFile());
            eniac.execute();
            Principal.getInstance().getTabbedPane().addTab(fc.getSelectedFile().getName(), panel);
            Principal.getInstance().getTabbedPane().setSelectedComponent(panel);
        }
    }
View Full Code Here
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.