title: Java FX custom picture in alert dialog
body: <p>I'm pretty new at <code>JavaFx</code>, and what I'm trying to do is, to create an alert dialog with a custom picture.</p>
  
  <p>First, I'm using <code>IntelliJ idea</code> and I didn't understand where to locate the <code>.jpg</code> file in the project (see picture attached).</p>
  
  <p>Second, after adding the picture to the project, how do I proceed?
  <a href="https://i.stack.imgur.com/XwH4D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XwH4D.png" alt="picture"></a> </p>
  
  <pre><code> Alert alert = new Alert(Alert.AlertType.ERROR, "Error", ButtonType.OK);
          alert.showAndWait();
  </code></pre>
  
  <p>Thank you</p>