title: JTable: how to get selected object from table binded to datasource
body: <p>I have JTable which "elements" property binded to List of objects, this is master table. There is also details table, which "elements" property binded to selectedElement in master table. I did it with help of NetBeans GUI builder. Now I try to get something like this:</p>
  
  <pre><code>SomeEntityType selectedObject= (SomeEntityType) masterTable.getSelectedElement ()
  </code></pre>
  
  <p>in source code, but there is no such property in JTable, only "getSelectedRow". So, how can I get selected object from JTable binded to source (List of objects)? 
  I have read similar questions, but find only link on getValueAt(rowId,columnId) method, but in my task it doesn't matter which column is selected, because full row is selected.</p>