Package net.ftb.updater

Examples of net.ftb.updater.UpdateChecker


        /*
         * Run UpdateChecker swingworker. done() will open LauncherUpdateDialog if needed
         */
        final int beta_ = beta;
        UpdateChecker updateChecker = new UpdateChecker(Constants.buildNumber, LaunchFrame.getInstance().minUsable, beta_) {
            @Override
            protected void done () {
                try {
                    if (get()) {
                        LauncherUpdateDialog p = new LauncherUpdateDialog(this, LaunchFrame.getInstance().minUsable);
                        p.setVisible(true);
                    }
                } catch (InterruptedException e) {
                } catch (ExecutionException e) {
                }
            }
        };
        updateChecker.execute();
        LoadingDialog.advance("Downloading pack data");
    }
View Full Code Here

TOP

Related Classes of net.ftb.updater.UpdateChecker

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.