I create my own SupLabel extends JLabel and override its paintComponent method. I use the HTML to draw what I want. But it just draws the plain html string! Below is my code. Anyone sheds some light on me? Thanks.
To be or not to be. It's a question.
posted 9 years ago
But JLabel is already capable of painting HTML text, you do not need to redefine the paint method.
It is as simple as
Is it not? [ October 23, 2006: Message edited by: Edwin Dalorzo ]