-
Bug
-
Resolution: Fixed
-
P5
-
1.1.7, 1.2.0
-
None
-
beta
-
generic, unknown
-
generic, solaris_2.5.1
Here's some code that initializes a JLabel with HTML that
contains a <br> tag.
String initialText = "<html>Type HTML into the text area<br> " +
"at the left. Then click the button.";
theLabel = new JLabel(initialText);
The label reports its preferred size as though the <br> wasn't there.
contains a <br> tag.
String initialText = "<html>Type HTML into the text area<br> " +
"at the left. Then click the button.";
theLabel = new JLabel(initialText);
The label reports its preferred size as though the <br> wasn't there.
- duplicates
-
JDK-4228101 JToolTip HTML support does not yet work at Swing1.1.1beta2
-
- Closed
-
-
JDK-4230425 HTML rendered content size too big in labels
-
- Closed
-