Close
jGuru Forums
Posted By: Faridah_Wahab Posted On: Tuesday, November 13, 2001 12:02 AM
How to set a focus to a specified cell in JTable? I've been using table.editCellAt(0,0) but it just set the cell to be an editing cell, the current focus is not there.. is there any way to set the current focus to the specified cell?
Thank you in advanced...
Re: Set focus to the specified cell in JTable
Posted By: Ajay_Manchanda Posted On: Tuesday, November 13, 2001 07:23 AM
table.scrollRectToVisible(table.getCellRect(row, col, true));table.changeSelection(row, col, false, false);