Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable Row not selected  RSS feed

 
Rob Elliott
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a dialog with 3 JTables on it. Two of them display data which is determined by what is selected in the first table. Also, the two tables contain custom cell renderers. When I display the dialog I select the first row in all 3 tables via setRowSelectionInterval(0,0). The problem is that visually, only the first table (no custom renderer) displays a selected row. The rows in the other two tables are not selected although progamtically they are. Also, if I selected a row via the mouse in these tables only the cell that I click on becomes highligted...

Why are the rows in these tables not highlighted?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!