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
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "JTable question" Watch "JTable question" New topic
Author

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 ?
Regards,
Akash
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable question