Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable question

 
Akash Singh
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
1. I would like to hightlight first row, after the search. I have used table.requestFocus() after tableModel.fireTableDataChanged() method.
But, its not highlighting the first row, though focus is coming into first cell of the first row. Is there any way to dynamically highlight(show selected) a row in JTable.
2. Tab from the last cell in the last row is not focusing to next component, which is a TextField (flight no field in other panel). Do i need to implement KeyListener on JTable, or is there any easy way ?
Regards,
Akash
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic