title: How to read text from a text field and input it into a database table
body: <p>I have linked up a database to my Java application using the JDBC in Netbeans.<br>
  On my database I have a table with 3 fields :</p>
  
  <ul>
  <li><p>ID</p></li>
  <li><p>FirstName</p></li>
  <li><p>Surname</p></li>
  </ul>
  
  <p>I am looking to type a number into the id text field in the application, click save and allow the id inputted by the user from the text field save in the ID section in the database table.<br></p>
  
  <p>I am a student new to all of this so please forgive me if I am asking the right way or in the wrong section, I have already searched thoroughly for a working example, any help would be much appreciated.</p>