Why are you setting the renderer every time a mouse click happens? What are you trying to achieve here?
Because i want paint the entire line when a mouse click happens. Why is this wrong?
If your table model is an AbstractTableModel or some subclass of that, then to get a row repainted you call the
model's fireTableRowsUpdated method with suitable parameters.
Yes is an AbstractTableModel. I tried this to see what happens but i got a compilation error.
"Cannot find symbol error.
Symbol method fireTableRowsUpdated"
Mods, please, i accidentally clicked in "Resolved" but this problem is not solved yet!