Mercurial > hg > icedtea9-forest > jdk
changeset 5546:731ee59c6ba2
7148281: [macosx] JTabbedPane tabs with HTML text do not render correctly
Reviewed-by: kizune
author | alexsch |
---|---|
date | Thu, 17 May 2012 14:27:11 +0400 |
parents | 19edcc438203 |
children | f9217bd87199 |
files | src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java Wed May 16 18:11:48 2012 +0400 +++ b/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java Thu May 17 14:27:11 2012 +0400 @@ -318,7 +318,7 @@ } // not for the scrolling tabs - if (tabIndex >= 0) { + if (component == null && tabIndex >= 0) { paintTitle(g2d, font, metrics, textRect, tabIndex, title); }