This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
dear friends I am adding rows to JTable on run time,I want my focus on a particular cell after adding the new row,i found one method requestFocus()in class JTable.AccessibleJTable.AccessibleJTableCell, How to use it,or any other suggessions, please help me thanks in advance.
I am not sure if this is that you want. Please try, 1. clean your table's selection( yourTable.clearSelection() 2. request focus on a cell (yourTable.changeSelection(rowIndex, columnIndex, false, false) . Now the cell is in the input mode and the border is highlight. I am sorry if it doesn't help.