Package no.ntnu.idatt1002.demo.view
Class MyApp
java.lang.Object
javafx.application.Application
no.ntnu.idatt1002.demo.view.MyApp
public class MyApp
extends javafx.application.Application
This is the class that the main application is run from. When a user decides to run the
application, this class calls on the start method which starts the application.
-
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
-
MyApp
public MyApp()
-
-
Method Details
-
start
The start method which is where the application is opened.- Specified by:
startin classjavafx.application.Application- Parameters:
stage- The stage or window at which the GUI is displayed.- Throws:
IOException- If an occurs loading the first view.
-
main
The main method that calls on the start method.- Parameters:
args- String of arguments.
-