Avais
5 years agoOccasional Contributor
Swing table - Getting the visible value from a cell not the underlying data
Hi
I've run into a similar problem to the one mentioned in this discussion:
I'm finding it difficult to apply the solution in Python and was hoping someone could help me out.
Thanks
Hi Avais,
The last code you posted here calls the getCellRendererComponent method:
renderer = table.getCellRenderer(row, col).getCellRendererComponent(table, value, False, False, row, col)
According to the article, you are referring it should be getTableCellRendererComponent. Could you please correct the code and try to execute it again. Does this help?