To make use of the Stage wrapped in the Dailog (i.e. to add icons), it would be nice to have convenience method
Stage stage = getStage();
instead of the long way:
Stage stage = (Stage)getDialogPane().getScene().getWindow();
Stage stage = getStage();
instead of the long way:
Stage stage = (Stage)getDialogPane().getScene().getWindow();