Class RegistrationManager


  • public final class RegistrationManager
    extends Object
    RegistrationManager
    Author:
    KIYUT
    • Method Detail

      • getInstance

        public static RegistrationManager getInstance()
        Returns the single instance, creating one if it's the first time this method is called.
        Returns:
        RegistrationManager The single instance.
      • register

        public boolean register​(String name,
                                String serialNo)
        Return true if registration success, otherwise false
        Parameters:
        name - the name
        serialNo - the serial number
        Returns:
        true if registration success, otherwise false
      • unRegister

        public void unRegister()
      • paintUnregisteredImage

        public void paintUnregisteredImage​(Component component,
                                           Graphics g)
      • checkRegistration

        public boolean checkRegistration()
      • showReminder

        public void showReminder()
      • showBetaNotice

        public void showBetaNotice()
      • getElapsedDays

        public int getElapsedDays()
      • getElapsedChecked

        public int getElapsedChecked()
      • getExpiredMillis

        public long getExpiredMillis()