It's possible to display HTML in a JTable cell:
I use this to display multiple lines of text in a cell. But how do I get the required dimensions of the text that I want to render? With Swing, I can use FontMetrics to get the dimensions of a string that I wish to write, but what can I use for HTML?