java.lang.Object
org.jpo.gui.VersionUpdate
This class can figure out if the current JPO version is out of date
and offers to open the download page in the browser for the user
to upgrade.
-
Constructor Summary
ConstructorDescriptionConstructs an object that checks the latest version and then pops up a dialog offering to that the user to the download page if the version is out of date. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static boolean
This method checks the Settings to determine if we are allowed to check for version updates.
-
Constructor Details
-
VersionUpdate
public VersionUpdate()Constructs an object that checks the latest version and then pops up a dialog offering to that the user to the download page if the version is out of date.
-
-
Method Details
-
getLatestJpoVersionTestOnly
- Throws:
IOException
URISyntaxException
-
mayCheckForUpdates
public static boolean mayCheckForUpdates()This method checks the Settings to determine if we are allowed to check for version updates. This is only allowed if the ignoreVersionAlerts flag is not set and if that is OK, then we must not check before the snooze time has expired.- Returns:
- true if we may check for updates, false if not
-