Skip to content

Instantly share code, notes, and snippets.

@greboid
Last active January 1, 2018 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greboid/435b909ddc70676f26a9210ecdd693c8 to your computer and use it in GitHub Desktop.
Save greboid/435b909ddc70676f26a9210ecdd693c8 to your computer and use it in GitHub Desktop.
@FXML
public void handleAboutDialog(final ActionEvent actionEvent) {
final AboutDialogController c = ui.aboutDialogController().get().get();
final Parent parent = c.loadFxml();
final Stage stage = new Stage();
c.setDialogStage(stage);
final Scene scene = new Scene(parent);
stage.setScene(scene);
stage.show();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment