Fixed most of issue #19 with new master?
This commit is contained in:
@@ -15,7 +15,7 @@ import java.io.IOException;
|
||||
|
||||
public class App extends Application {
|
||||
private static Stage stage;
|
||||
private static App app;
|
||||
public static App app;
|
||||
|
||||
/**
|
||||
* Entry point for running the programme
|
||||
@@ -45,7 +45,7 @@ public class App extends Application {
|
||||
loadStart(App.stage);
|
||||
}
|
||||
|
||||
public static void loadStart(Stage stage) throws IOException {
|
||||
public void loadStart(Stage stage) throws IOException {
|
||||
FXMLLoader loader = new FXMLLoader(App.class.getResource("/visualiser/scenes/main.fxml"));
|
||||
Parent root = loader.load();
|
||||
stage.setResizable(false);
|
||||
|
||||
Reference in New Issue
Block a user