public Client(Ui ui) { this.ui = ui; dlHandler = new DownloadHandler(ui.getStatusLabel(), ui.getDownloadProgressBar()); reciever = new Reciever(ref dlHandler, this); Logger.log(Logger.TYPE.DEBUG, "Client successfully constructed."); }