|
Java™ by example!
|
|
|
How do I disable HTML support in a JLabel?
 Sometimes, it may be necessary to display html tags inside a JLabel. If the text of an HTML enabled JComponent like JLabel starts with then this text will be rendered as HTML. To prevent this rendering from happening, set the clientproperty html of that JLabel to null. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|