I tried using a custom TableCellRenderer
that extends JLabel
- This displays just what I want.
By default JLabel
'recognizes' HTML
`<html><body><img src='http://www......jpg'><br>Some Text
<a href='http://www.myDomain.com'>Click Here</a>Some More Text</body></html>`
But JLabel
does not implement addHyperlinkListener
, so a click on the link is never honored.
If I then try the same with TableCellRenderer
that extends JTextPane
, then the 'image' is not displayed, just the default 'broken' image.
In this case JTextPane
does implement addHyperlinkListener
, but again it is not honored. (Yes, I created a listener.)
If I then try the same with TableCellRenderer
that extends JEditorPane
, then again the 'image' is not displayed, just the default 'broken' image.
In this case JTextPane
does implement addHyperlinkListener
, but again it is not honored. (Yes, I created a listener.)