title: javafx how to set center position for text or label?
body: <p>How to set centerX and centerY for <code>Text</code> or <code>Label</code> node in JavaFX?</p>
  
  <p>AFAIK, there is no specific property (or method) for center position, but there are <code>setLayoutX, setLayoutY</code> methods + <code>relocate</code>, which I can't understand how they work.</p>