title: what is the difference between Pane and stackPane in javaFX?
body: <p>I was learning javafx and came across these two statements which I don't know their difference.</p>
  
  <pre><code>Pane pane = new Pane();
  </code></pre>
  
  <p>and</p>
  
  <pre><code>StackPane pane = new StackPane();
  </code></pre>
  
  <p>Can somebody enlighten me about the difference and when to use which? </p>