java.lang.Object
javafx.application.Application
com.example.wellbeing_project.HomeApplication
public class HomeApplication
extends javafx.application.Application
JavaFX Application clss for the home screen.
-
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
-
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Field Details
-
TITLE
- See Also:
-
WIDTH
public static final int WIDTH- See Also:
-
HEIGHT
public static final int HEIGHT- See Also:
-
-
Constructor Details
-
HomeApplication
public HomeApplication()
-
-
Method Details
-
start
Starts the JavaFX application by loading the home view FXML and setting up the scene.- Specified by:
start
in classjavafx.application.Application
- Parameters:
stage
- The primary stage for the application.- Throws:
IOException
- If an error occurs while opening the FXML.
-
main
The main method that launches the JavaFX application.- Parameters:
args
- Command-line Arguments.
-