• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

JTable Row not selected

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic