Documentos de Académico
Documentos de Profesional
Documentos de Cultura
import java.io.File:
import java.io.FileInput5trezn:
import java.io.FileOutput5trezn:
import javax.swing.JFileChooser:
javax.swing.JOptionPane:
pAlic FrameFicherosTXT() (
initComponents():
String documento=””:
)catchlException e}()
return documento;
sa ida=new FileDutput5treamlarchivo}:
byte[] bytxt=documento.getBytesl};
za i3a.write{bytxt};
mensaje=”Ari.i :.
3uazdad:.”:
)catchlException e}()
return mensaje;
lelse(
JOptionPane.showNessageOia]og(null, ”?uazdaz I:':um=r.::' d= I=z::'") ;
private void btnGoardarTxtActionPerformed(java.awt.event.ActionEvent evt) (
if (f °°ñ°°SS ??.dñ.9iHOWDidlO (ñ’dll, "-.’? ") ñFilRfl:HOO9RI. - ?ñ? _ ñi "/) {
az:-ivo=s= e::iozaz.get5electedFile():
iI(a:kiw:.canRead())(
it(azo.ivo.getNaxe().endsWith(”-:<-”))(
String docaxento=AbrirArcnivo(az:-iv:):
cxzaz=a.setText(docunento);
.else(
JC›ptionPane.s2owVessdgariaiog(nall,
.Gudrd’ar:’:.
.4vatar
@ Cyber Link :" ””'“
@ Blocs de notas de One Note
@ Drive Green
Cajas fuertes de Itlc4fe e
@ flash
@ Camtasi a Studio
@ GT.4 San .4nd re as User
Carpeta LPP
Fil ‹ CT.4 Vice Cir User
Files
Aichivos!de..tipo: | To o s os Ar hi os
. fJard . | G ancelar .|