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 -
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
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:
startin classjavafx.application.Application- Parameters:
stage- the primary stage provided by the JavaFX runtime
-
main
Main method that launches the JavaFX application. Serves as the entry point for running the POS system.- Parameters:
args- command-line arguments (not used)
-