Apr 21, 2006 #1 tvrtko Programmer Joined Nov 26, 2003 Messages 53 Location HR How can I programmatically select row of jTable? Thanks in advance
Apr 21, 2006 1 #2 timw Programmer Joined May 3, 2000 Messages 1,264 Location GB Code: ListSelectionModel model = yourTable.getSelectionModel(); model.setSelectionInterval(startRow, endRow); where startRow and endRow are the indexes of the required selection. Tim Upvote 0 Downvote
Code: ListSelectionModel model = yourTable.getSelectionModel(); model.setSelectionInterval(startRow, endRow); where startRow and endRow are the indexes of the required selection. Tim
Apr 21, 2006 Thread starter #3 tvrtko Programmer Joined Nov 26, 2003 Messages 53 Location HR Thanks. Upvote 0 Downvote