title: JTable and Table model when to use when?
body: <p>I have some idea about the difference between these two. But, i have some confusion about when to use when. I just know that,</p>
  
  <ul>
  <li>To display a JTable create a JTable and set corresponding table model to it.</li>
  <li>Any time, if we want to change the data in that table, change the data in the model, then the changes will reflect in view.</li>
  </ul>
  
  <p>We can get the values of table from the view as well as model. This is where i am confused. If any event like (row selection) occurred, then from which i have to get the value? Is it from the view or the model? What is the best practice to use, considering the sorting and filtering of the JTable?</p>