java.lang.Object
javafx.application.Application
stud.ntnu.idatt1005.pantrypal.PantryPal

public class PantryPal extends javafx.application.Application
The main class for the PantryPal application. This class is responsible for starting the application and initializing the view manager and controllers.
  • Field Details

  • Constructor Details

    • PantryPal

      public PantryPal()
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage)
      The start method is called after the init method has returned, and after the system is ready for the application to begin running. The method creates the view manager and initializes the controllers.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      primaryStage - The primary stage for this application, onto which the application scene can be set.
    • main

      public static void main(String[] args)
      The main method is the entry point for the PantryPal application. The method launches the application.
      Parameters:
      args - Command-line arguments.