diff --git a/MiCopyFicheros/bin/MiCopyFicheros/MiCopyFicheros.class b/MiCopyFicheros/bin/MiCopyFicheros/MiCopyFicheros.class index efb0bdf..2fde6f2 100644 Binary files a/MiCopyFicheros/bin/MiCopyFicheros/MiCopyFicheros.class and b/MiCopyFicheros/bin/MiCopyFicheros/MiCopyFicheros.class differ diff --git a/MiCopyFicheros/src/MiCopyFicheros/MiCopyFicheros.java b/MiCopyFicheros/src/MiCopyFicheros/MiCopyFicheros.java index c6681a5..234f9e9 100644 --- a/MiCopyFicheros/src/MiCopyFicheros/MiCopyFicheros.java +++ b/MiCopyFicheros/src/MiCopyFicheros/MiCopyFicheros.java @@ -19,11 +19,22 @@ public class MiCopyFicheros { System.out.println("\n> Empezando copia ..."); + int c; + for (int i = 0; i <= 200; i = i + 20) { //Invocamos al metodo progressPercentage(i, 200); + //Copiamos + try { + while ((c = in.read()) != -1) { + out.write(c); + } + } catch (IOException e1) { + //Ignora + } + //Ralentizamos el output try { Thread.sleep(1000);