@@ -0,0 +1,1446 @@
+package transfertcp;%0A%0Aimport java.applet.Applet;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0Aimport javax.swing.JPanel;%0A%0A/**%0A *%0A * @author JoseCaceres%0A */%0Apublic class MasterGraphics extends Applet implements Runnable %7B%0A    private View view;%0A    private Thread hilo;%0A    private boolean running, activo;%0A    private ListaDescarga listaDescarga;%0A    %0A    public MasterGraphics(ListaDescarga listaDescarga, int y)%7B %0A        listaDescarga = listaDescarga;%0A        view = new View(listaDescarga);%0A        running = activo = true;%0A        view.setBounds(0, 40, 620, 150);%0A        listaDescarga.getPanel().add(view);%0A        listaDescarga.getPanel().setBounds(0,y,620,500);%0A        hilo = new Thread(this);%0A        hilo.setPriority(Thread.MAX_PRIORITY);%0A        hilo.start();%0A    %7D%0A    %0A    @Override%0A    public void run() %7B%0A        while(running)%7B%0A            if(activo)%0A            view.repaint();%0A            try %7B%0A                Thread.sleep(100);%0A            %7D catch (InterruptedException ex) %7B%0A                Logger.getLogger(MasterGraphics.class.getName()).log(Level.SEVERE, null, ex);%0A            %7D%0A        %7D%0A    %7D%0A    %0A    public void setActivo(boolean activo) %7B%0A        this.activo = activo;%0A    %7D%0A    %0A    public boolean getActivo() %7B%0A        return activo;%0A    %7D%0A    %0A    public void setRunning(boolean running)%7B%0A        this.running = running;%0A    %7D%0A    %0A    public JPanel getView()%7B%0A        return view;%0A    %7D%0A%7D%0A%0A%0A

Create MasterGraphics.java