title: How to set vbox size to window size in javafx?
body: <p>I am using JavaFX for UI.How to set Vbox layout's size to window size?
  I tried the below code,but couldnot view the components added in vbox.</p>
  
  <pre><code>    VBox vbox = new VBox();
      vbox.setPadding(new Insets(10, 10, 10, 10));  
      vbox.setSpacing(10);
  </code></pre>