Merged with multi visualiser branch so now multiple visualisers can connect to the same host.

#story[1087]
This commit is contained in:
zwu18
2017-07-26 21:08:13 +12:00
parent 88604df66d
commit 243c450790
7 changed files with 32 additions and 30 deletions
@@ -35,14 +35,12 @@ public class App extends Application {
System.exit(0);
}
});
FXMLLoader loader = new FXMLLoader(getClass().getResource
("/visualiser/scenes/main.fxml"));
FXMLLoader loader = new FXMLLoader(getClass().getResource("/visualiser/scenes/main.fxml"));
Parent root = loader.load();
stage.setResizable(false);
MainController mc = (MainController) loader.getController();
mc.enterTitle();
Scene scene = new Scene(root);
System.out.println(scene.getHeight());
stage.setScene(scene);
stage.setTitle("RaceVision - Team 7");