Package xplanetconfigurator.downloader

Examples of xplanetconfigurator.downloader.DownloadStarter


        // If null the downloader will ignore the list and take the type.id
        timer.setCurrentDownloadTypeIDs(typeIDs);
        timer.setRunOnceAndLeave(startOnceAndLeave);
        // The starter is needed due to the SwingWorkerStuff. Main Purpose:
        // the GUI must not freeze.
        DownloadStarter starter = new DownloadStarter();
        starter.setTimer(timer);
        starter.execute();
    }
View Full Code Here


        this.cleanUpDownloadStarter();
        XPlanetRessourceFinder f = new XPlanetRessourceFinder();
        String dirOnDisc = f.getRessourceDirectory("downloader");
        String cfgFileDownload = dirOnDisc + File.separator + MainFrame.FILE_NAME_DOWNLOADER_CONFIG;
        DownloadTimer downloadTimer = new DownloadTimer(cfgFileDownload);
        this.downloadStarter = new DownloadStarter();
        this.downloadStarter.setTimer(downloadTimer);
        // Fill the text area
        this.refreshDownloaderTextArea();
        return downloadTimer;
    }
View Full Code Here

TOP

Related Classes of xplanetconfigurator.downloader.DownloadStarter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.