title: Center an object in BorderPane
body: <p>In JavaFX, how to center an object in the top or bottom compartment in BorderPane layout?</p>
  
  <p>I have:</p>
  
  <pre><code>borderPane.setBottom(hBox);
  </code></pre>
  
  <p>And hBox appears on the left side of the bottom compartment of BorderPane <code>borderPane</code>.And I want it to be in the center of the bottom. Thanks.</p>