showDashboard() function added
This commit is contained in:
parent
1bf4594a93
commit
e4276d6cca
@ -85,4 +85,18 @@ public class FxViewController implements Initializable {
|
||||
dialogStage.setScene(new Scene(dialogRoot));
|
||||
dialogStage.showAndWait();
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void showDashboard() throws IOException {
|
||||
// Dialog
|
||||
FXMLLoader loader = new FXMLLoader(getClass()
|
||||
.getResource("/efi/projekt/gesundheitsassistent/view/HeartRateDashboard.fxml"));
|
||||
Parent dialogRoot = loader.load();
|
||||
|
||||
// Dialog Stage erzeugen
|
||||
Stage dialogStage = new Stage();
|
||||
dialogStage.initModality(Modality.APPLICATION_MODAL);
|
||||
dialogStage.setScene(new Scene(dialogRoot));
|
||||
dialogStage.showAndWait();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user