Reputation: 307
I have used cell Renderer to display data in table format with entries displayed in each cell in java swing. I have also got to put the desired color for each cell.
I there a way I can change the look of the cell? What I want is there a way I can have curved edges for each cell in the table?
Upvotes: 0
Views: 212
Reputation: 347204
The responsibility would fall to the TableCellRenderer
, so you'd have to set the border up in the renderers.
You would also have to turn off the grid drawing, using JTable#setShowGrid
Upvotes: 2