Examples of VersionChecker


Examples of appeng.services.VersionChecker

    Registration.instance.PreInit( event );

    if ( AEConfig.instance.isFeatureEnabled( AEFeature.VersionChecker ) )
    {
      AELog.info( "Starting VersionChecker" );
      startService( "AE2 VersionChecker", new Thread( VersionChecker.instance = new VersionChecker() ) );
    }

    AELog.info( "PreInit ( end " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
  }
View Full Code Here

Examples of com.mucommander.VersionChecker

        Container contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());
       
        String         message;
        String         title;
        VersionChecker version;
        URL            downloadURL = null;
        boolean        downloadOption = false;
        String         jarURL = null;

        try {
            LOGGER.debug("Checking for new version...");

            version = VersionChecker.getInstance();
            // A newer version is available
            if(version.isNewVersionAvailable()) {
                LOGGER.info("A new version is available!");

                title = Translator.get("version_dialog.new_version_title");

                // Checks if the current platform can open a new browser window
                downloadURL    = new URL(version.getDownloadURL());
                downloadOption = DesktopManager.isOperationSupported(DesktopManager.BROWSE, new Object[] {downloadURL});
               
                // If the platform is not capable of opening a new browser window,
                // display the download URL.
                if(downloadOption) {
                    message = Translator.get("version_dialog.new_version");
                }
                else {
                    message = Translator.get("version_dialog.new_version_url", downloadURL.toString());
                }

                jarURL = version.getJarURL();
            }
            // We're already running latest version
            else {
                LOGGER.debug("No new version.");
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.internalizer.VersionChecker

            public void parse(InputSource source, ContentHandler handler,
                ErrorHandler errorHandler, EntityResolver entityResolver ) throws SAXException, IOException {
                // set up the chain of handlers.
                handler = wrapBy( new SpeculationChecker(), handler );
                handler = wrapBy( new VersionChecker(null,errorReceiver,entityResolver), handler );

                base.parse( source, handler, errorHandler, entityResolver );
            }
            /**
             * Wraps the specified content handler by a filter.
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.internalizer.VersionChecker

            public void parse(InputSource source, ContentHandler handler,
                ErrorHandler errorHandler, EntityResolver entityResolver ) throws SAXException, IOException {
                // set up the chain of handlers.
                handler = wrapBy( new SpeculationChecker(), handler );
                handler = wrapBy( new VersionChecker(null,errorReceiver,entityResolver), handler );

                base.parse( source, handler, errorHandler, entityResolver );
            }
            /**
             * Wraps the specified content handler by a filter.
View Full Code Here

Examples of com.sun.tools.xjc.reader.internalizer.VersionChecker

            public void parse(InputSource source, ContentHandler handler,
                ErrorHandler errorHandler, EntityResolver entityResolver ) throws SAXException, IOException {
                // set up the chain of handlers.
                handler = wrapBy( new SpeculationChecker(), handler );
                handler = wrapBy( new VersionChecker(null,errorReceiver,entityResolver), handler );

                base.parse( source, handler, errorHandler, entityResolver );
            }
            /**
             * Wraps the specified content handler by a filter.
View Full Code Here

Examples of com.sun.tools.xjc.reader.internalizer.VersionChecker

            public void parse(InputSource source, ContentHandler handler,
                ErrorHandler errorHandler, EntityResolver entityResolver ) throws SAXException, IOException {
                // set up the chain of handlers.
                handler = wrapBy( new SpeculationChecker(), handler );
                handler = wrapBy( new VersionChecker(null,errorReceiver,entityResolver), handler );

                base.parse( source, handler, errorHandler, entityResolver );
            }
            /**
             * Wraps the specified content handler by a filter.
View Full Code Here

Examples of com.sun.tools.xjc.reader.internalizer.VersionChecker

            public void parse(InputSource source, ContentHandler handler,
                ErrorHandler errorHandler, EntityResolver entityResolver ) throws SAXException, IOException {
                // set up the chain of handlers.
                handler = wrapBy( new SpeculationChecker(), handler );
                handler = wrapBy( new VersionChecker(null,errorReceiver,entityResolver), handler );

                base.parse( source, handler, errorHandler, entityResolver );
            }
            /**
             * Wraps the specified content handler by a filter.
View Full Code Here

Examples of logisticspipes.ticks.VersionChecker

    MainProxy.proxy.registerParticles();
   
    //init Fluids
    FluidIdentifier.initFromForge(false);

    new VersionChecker();
  }
View Full Code Here

Examples of org.jmule.ui.swing.versionchecker.VersionChecker

      } catch (JMUpdaterException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      }
      if(update.isNewVersionAvailable()) {
        VersionChecker version_checker = new VersionChecker(main_window);
        SwingUtils.setWindowLocationRelativeTo(version_checker, main_window);
        version_checker.setVisible(true);
      }
    }
   
  }
View Full Code Here

Examples of org.jmule.ui.swing.versionchecker.VersionChecker

      }
    });
   
    check_for_updates.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent event) {
        VersionChecker version_checker = new VersionChecker(_this);
          SwingUtils.setWindowLocationRelativeTo(version_checker, _this);
          version_checker.setVisible(true)
      }
    });
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.