JLabel with HTML not sketched
Brought to you by:
kcrca
You can use simple HTML tags in the text of a JLabel. This is especially useful when you want to create a multi-line JLabel. Example:
JLabel label = new JLabel("<html>First line<br>Second line</html>");
Unfortunatelly, Napkin will not use a handwritten font for labels when they contain HTML code. See screenshot:
http://www9.speedyshare.com/data/841931736/15330026/56093717/protoreto-napkin.png
Is there any way for a LAF to affect the font used for JLabels with HTML?
Maybe this is not a Napkin bug, but a Java Swing bug?
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4248210