Gurumurthy Ramamurthy wrote:I have a simple GUI.
I have a JTable with some rows and columns.
I have a JButton.
Default JTable behaviour is that -
if you press "TAB" in the last cell, the cursor goes to the first cell.
But what I need is, if you press "TAB" in the last cell, the focus should go out of JTable and select the JButton.
How to achieve this?
Press Ctrl-Tab to tab out of the table.
This is standard and expected GUI behavior, not just in Java but in all visual platforms.