I'd like to set results to the center of pane.
Label results = new Label("You win");
Pane pane = new Pane();
Pane does not support centering a child. Therefore it has to be done manually, i.e. the
layoutY positions have to be calculated "manually".
You can achieve this through binding:
results.layoutXProperty().bind(pane.widthProperty().subtract(results.widthProperty()).divide(2)); // procede accordingly with layoutY / height