I have a JTable with 3 columns. I\'ve set the TableCellRenderer
for all the 3 columns like this (maybe not very effective?).
for (int i = 0; i
The other answers given here work well since you use the same renderer in every column.
However, I tend to believe that generally when using a JTable you will have different types of data in each columm and therefore you won't be using the same renderer for each column. In these cases you may find the Table Row Rendering approach helpfull.