title: JavaFX or FXML. What is the difference?
body: <p>I have newly started to learn javafx to build desktop apps. But i don't understand one thing. Here is my problem:
  We can create a gui by writing codes, like that:</p>
  
  <hr>
  
  <p><a href="https://i.stack.imgur.com/cAfaf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cAfaf.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>Or, we can create gui with scene builder, like this:</p>
  
  <p><a href="https://i.stack.imgur.com/rvmW4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rvmW4.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>If the second method is available, why should we use writing codes, like where to put this label or button or whatever.?</p>
  
  <p>I'm new, so i don't know if the second method has any weakness. </p>