tags:

views:

988

answers:

2

I have a jTable set so that it is read only, and selection is done by single row only.

However, when the user selects a row and the row is painted, the jTable's vertical grid lines between columns are removed, causing a single horizontal block of colour, instead of blocks of colour in each cell.

How can I get the selected row to show the vertical lines between each cell in adjacent columns?

A: 
Vinay Sajip
Psychic
A: 

Did you implement your own cellrenderer ?

If you did make sure you still set a border in your

 public Component getTableCellRendererComponent(...)

method

Peter