Package IO

Examples of IO.FicheiroDeTexto


    }//GEN-LAST:event_AboutActionPerformed

    private void save_txt_btnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_save_txt_btnActionPerformed
        // TODO add your handling code here:

        FicheiroDeTexto f = new FicheiroDeTexto();
        try {
            f.abreEscrita("iwlist_scaninfo.txt");
            f.escreverLinha(CurrentDate());
            f.escreverLinha(getOutput());
            f.fechaEscrita();
            JOptionPane.showMessageDialog(null, "File successfully saved");

        } catch (IOException ex) {
            Logger.getLogger(Frame_Output.class.getName()).log(Level.SEVERE, null, ex);
            JOptionPane.showMessageDialog(null, "Error saving file");
View Full Code Here

TOP

Related Classes of IO.FicheiroDeTexto

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.