282930313233343536
FileReader reader = new FileReader(file); char[] cbuf = new char[(int) file.length()]; reader.read(cbuf); Programa programa = new Programa(new String(cbuf), diretorio); return programa; }
232425262728293031
programaDAO = new ProgramaFileDAO(); novo(); } public void novo() { programa = new Programa(null, null); isNew = true; notifyListener(); }
404142434445464748
} public void novo() { this.nome = null; this.diretorio = null; programa = new Programa(null, null); isNew = true; notifyListener(); }