thread.setDaemon(true);
thread.start();
}
// start file downloader thread
SegmentQueue segs = new SegmentQueue(filesToDownloadTabModel);
NntpFileDownloader downloader = new NntpFileDownloader(this, nioClient, backupDownloader, segs, downloadDir);
downloader.setPaused(pauseToggleButton.isSelected());
Thread thread = new Thread(downloader);
thread.setDaemon(true);
thread.start();
// send usage stats
statsNewDownload(segs.remainingBytes());
// enable/disable toolbar and menu action
AbstractAction action = actions.get("MenuServerStartDownload");
action.setEnabled(true);
action = actions.get("MenuServerPauseDownload");