jUpdateChecker Wiki
jUpdateChecker is a Java library to check for updates
Brought to you by:
giannivh
String appName = "Test App"; Version currentVersion = new Version( 0, 1 ); String newVersionURL = "http://giannivanhoecke.com/jUpdateChecker_version.txt"; String releaseNotesURL = "http://sfap.sourceforge.net/releasenotes.html"; String downloadPageURL = "http://giannivanhoecke.com/"; JUpdateChecker jUpdateChecker = new JUpdateChecker( appName, currentVersion, newVersionURL, releaseNotesURL, downloadPageURL );
jUpdateChecker.checkForUpdates( true, false );
The @true@ is we want to use a GUI instead of the terminal.
The @false@ is that we want to be notified when there are no updates available.
You can find the example as an attachment.