title: How do you set the icon of a Dialog control Java FX/Java 8
body: <p>I might be missing something very obvious, but I can't find out how to set the Icon for a Dialog component (ProgressDialog to be more precise). I know how to do that for a Stage:</p>
  
  <pre><code>this.primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("/icon/Logo.png")));
  </code></pre>
  
  <p>But I don't find anything for the Dialog family. And somehow, setting the Stage Icon does not influence the Dialog Icon.</p>
  
  <p>Thanks</p>