I have a JTable, and when it has gained the focus, one of the cells will actually have the focus. How do I know which cell has the focus (the row/column of the cell)?
Ultimately, what I'm trying to achieve is that when the JTable cell has the focus, the entire row will be selected.
Start Free Trial