Skip to content
Snippets Groups Projects
Commit b454db99 authored by Eilert Tunheim's avatar Eilert Tunheim
Browse files

commented main

parent ff6faac5
Branches
No related tags found
No related merge requests found
......@@ -56,13 +56,16 @@ public class Main extends Application {
/**
* Starts the application
*
* @param args
* @throws IOException
* @param args input parameter
* @throws IOException throws exception if an error occurs
*/
public static void main(String[] args) throws IOException {
launch(args);
}
/**
* This function exists the application and stops all threads
*/
public static void exitApplication(){
Platform.exit();
System.exit(0);
......@@ -89,8 +92,8 @@ public class Main extends Application {
/**
* Sets the primaryStage and sets the scene for the window.
*
* @param primaryStage
* @throws Exception
* @param primaryStage The main stage
* @throws Exception throws exception if an error occurs
*/
@Override
public void start(Stage primaryStage) throws Exception {
......@@ -143,6 +146,7 @@ public class Main extends Application {
InputPopup.display();
}
// Getters and setters
public static void setTreeSpeciesText(String treeSpeciesText) {
Main.treeSpeciesText.setText(treeSpeciesText);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment