title: JavaFX: Not able to put Label inside of GridPane
body: <p>I am trying to put a Label inside of GridPane in JavaFX.</p>
  
  <p>I have following code:</p>
  
  <pre><code>@FXML
  private Label nameCheck;
  
  @FXML 
  private GridPane gridPane;
  
  gridPane.add(nameCheck, 0, 0);
  </code></pre>
  
  <p>But, when I am trying to do so, it is giving me error saying:
  <code>The method add(Node, int, int) in the type GridPane is not applicable for the arguments (Label, int, int)</code></p>
  
  <p>When I tried to put <code>Text</code> inside of <code>GridPane</code>, it happens properly. Why is it giving me problem with <code>Label</code> only?</p>
  
  <p>Isn't Label a Node?</p>