title: Java JTable getting the data of the selected row
body: <p>Are there any <strong>methods</strong> that are used to <strong>get the data of the selected row</strong>? I just want to simply click a specific row with data on it and click a button that will print the data in the Console. </p>
  
  <p><img src="https://i.stack.imgur.com/5NQBY.png" alt="enter image description here"></p>