Highlighting of the whole row in a JTable


2003-08-27 10:09:11 PM
jbuilder5
Hi,
I have a JTable with a DataFileTableModel. I wanted to create a cellRenderer
to have the text contained in the cells on the right side. Therefore I wrote
a new class implementing the DefaultTableCellRenderer. The problem I now
have is that the row doesn't highlight any more when I click on a cell. How
can I resolve this problem ? Can I access all the cell of a row ?
Thanks for your help !
Christian