title: how to get the length of a JTable
body: <p>I'm working with sql and java. I created a JTable to filtrate information from database to there.
  I want to get the length of that JTable (number of rows) and print that result in a JLabel.
  How can I do that?</p>
  
  <p>Thanks!</p>