code: public void informational(Stage stage, String message, String details) {
          messageLabel.setText(message);
          detailsLabel.setText(details);
          cancelButton.setVisible(false);
          actionButton.setVisible(false);
          okButton.setOnAction(actionEvent -> stage.close());
      }
docs: Initialize this alert for general information: OK button only, nothing happens on dismissal.