I have created a table have row and column...
I want that when i only click on any row of table then it print that row is selected..
As an example table have 10 rows.. and when I click on 2 row then it print that 2 row is selected...
Joined: Jun 13, 2009
Use a MouseListener. Then use methods from the JTable to convert the mouse point to a row in the table.