diff --git a/res/userdb.db b/res/userdb.db index 7f67671..bd43660 100644 Binary files a/res/userdb.db and b/res/userdb.db differ diff --git a/src/main/java/seng202/group9/GUI/HelpController.java b/src/main/java/seng202/group9/GUI/HelpController.java index ee6dd23..d713253 100644 --- a/src/main/java/seng202/group9/GUI/HelpController.java +++ b/src/main/java/seng202/group9/GUI/HelpController.java @@ -69,12 +69,7 @@ public class HelpController extends Controller { text = new Text("Please select an option on the left side menu to display its contents."); textArea.getChildren().add(text); - } - /** - * Changes the text in the TextFlow depending on which option has been selected in the TreeView. - */ - public void changeView() { treeView.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() { public void changed(ObservableValue observable, Object oldValue, @@ -83,7 +78,7 @@ public class HelpController extends Controller { String menuValue = selectedItem.getValue(); if ( menuValue != null ){ - textArea.getChildren().clear(); + textArea.getChildren().clear(); if (menuValue.equals("Importing on Startup")) { text = new Text("Importing on Startup\n" + "You can import data from the first start up of the application." + "\nTo import data, select the type of data you wish to import along the bottom of the screen." + @@ -170,5 +165,4 @@ public class HelpController extends Controller { } }); } - } \ No newline at end of file diff --git a/src/main/resources/help.fxml b/src/main/resources/help.fxml index ff98d86..35d386b 100644 --- a/src/main/resources/help.fxml +++ b/src/main/resources/help.fxml @@ -34,7 +34,7 @@ - +