Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Bacheloroppgave_2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eilert Tunheim
Bacheloroppgave_2022
Commits
b454db99
Commit
b454db99
authored
2 years ago
by
Eilert Tunheim
Browse files
Options
Downloads
Patches
Plain Diff
commented main
parent
ff6faac5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/application/Main.java
+8
-4
8 additions, 4 deletions
src/main/java/com/application/Main.java
with
8 additions
and
4 deletions
src/main/java/com/application/Main.java
+
8
−
4
View file @
b454db99
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment