title: How to make VBox fill the size of its parent
body: <p>Is this the correct way to make VBox fill its parent: </p>
  
  <pre><code>    final Group root = new Group();
      final Scene scene = new Scene(root, 1000, 800, Color.BLACK);
  
      final VBox c = new VBox();
      c.setAlignment(Pos.TOP_CENTER);
      c.setSpacing(10); 
      c.setFillWidth(true);
      c.getChildren().add(...);
      c.getChildren().add(...);
      c.getChildren().add(...);
  
      c.prefWidthProperty().bind(scene.widthProperty());
      c.prefHeightProperty().bind(scene.heightProperty());
  
      root.getChildren().add(c);
  
      stage.setTitle("blah"); //$NON-NLS-1$
      stage.setScene(scene);
      stage.show();
  </code></pre>