title: How to get the text input in javafx using controller class?
body: <p>I am new to javafx and building an java application using it with eclipse IDE. I learned how to create a main fx class and user interface with Scene builder. The main problem is i dont know how to get the user input (from the text field or from text area ) and display that text on console output or save that text into database after clicking 'save' button.</p>
  
  <p>i want to know how can do above tasks using controller class in eclipse.</p>
  
  <p>Any help would be appreciated and Thanks in advance.</p>