• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable question

Akash Singh
Ranch Hand
Posts: 80
  • 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 ?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!