Class Main

java.lang.Object
javafx.application.Application
team75.Main

public class Main extends javafx.application.Application
Main entry point for the Restaurant Point-of-Sale (POS) system. Initializes the JavaFX application and displays the login interface. This class extends JavaFX Application and sets up the initial stage with the login screen loaded from loginGui.fxml.
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
    This class should never be initialized
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Main method that launches the JavaFX application.
    void
    start(javafx.stage.Stage stage)
    Initializes and displays the primary stage with the login GUI.

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Main

      public Main()
      This class should never be initialized
  • Method Details

    • start

      public void start(javafx.stage.Stage stage)
      Initializes and displays the primary stage with the login GUI. Loads the login interface from FXML resources and sets minimum window dimensions before displaying to the user.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - the primary stage provided by the JavaFX runtime
    • main

      public static void main(String[] args)
      Main method that launches the JavaFX application. Serves as the entry point for running the POS system.
      Parameters:
      args - command-line arguments (not used)