title: Get Image path JavaFx
body: <p>I want to get the path name of the current Image loaded in my Image object.</p>
  
  <p>I have the following code:</p>
  
  <pre><code>Image lol = new Image("fxml/images/bilhar9.png");
  </code></pre>
  
  <p>and I want to do something like:</p>
  
  <pre><code>lol.getPath();
  </code></pre>
  
  <p>that should return "fxml/images/bilhar9.png", I found the method impl_getUrl() but is deprecated.</p>
  
  <p>What should I do?</p>