aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes JTable question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "JTable question" Watch "JTable question" New topic

JTable question

Akash Singh
Ranch Hand

Joined: Aug 21, 2003
Posts: 80
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 ?
I agree. Here's the link:
subject: JTable question