double percent = (float)d.getSize() / (float)d.getTotalSize() * 100;
model.setValue(row, progress, Math.round(percent) + "%");
model.setValue(row, speed, d.getSpeed()/1024f + " KB/s");
}
}
while(row.iterNext());
}
}
else if(event instanceof DownloadStatusChanged)
{
Download d = ((DownloadStatusChanged)event).getDownload();