Class HomePage


public class HomePage extends UserInterface
The HomePage class serves as the entry point for the Hospital X System application. It handles the display of welcome messages, user login, and application termination.
  • Constructor Details

    • HomePage

      public HomePage()
  • Method Details

    • main

      public static void main(String[] args)
      The main method that runs the application.
      Parameters:
      args - command-line arguments (not used)
    • displayWelcomeText

      public static char displayWelcomeText()
      Displays a welcome message with a typing effect and a pulsing animation.
      Returns:
      a character input by the user; 'q' to quit, or any other character to proceed
    • displayFarewellText

      public static void displayFarewellText()
      Displays a farewell message when the application is closing.