Class UpdateCheckerDialog

java.lang.Object
com.everdro1d.libs.swing.dialogs.UpdateCheckerDialog

public class UpdateCheckerDialog extends Object
The UpdateCheckerDialog class provides functionality to check for application updates and display a dialog prompting the user to update if a newer version is available.

This class integrates with GitHub release tags (formatted as "vX.Y.Z") to determine the latest version and supports localization through the LocaleManager.

Features:

  • Checks for updates using the GitHub releases page.
  • Displays a localized dialog with options to update or skip.
  • Supports "Do not ask again" functionality using Preferences.

Example Usage:

 UpdateCheckerDialog.showUpdateCheckerDialog(
     "1.2.1", parentFrame, true,
     "https://github.com/user/repo/releases/latest/",
     "https://someurl.com/download", prefs, localeManager
 );
 

Note: This class is not intended to be instantiated directly.