diff --git a/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java b/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java index f463d640fed2acc5f1e0b705aba3875a6c8fa128..7dbc187296de6c3c8672883cb4ca8efbd4da113d 100644 --- a/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java +++ b/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java @@ -318,7 +318,7 @@ public class AquaTabbedPaneUI extends AquaTabbedPaneCopyFromBasicUI { } // not for the scrolling tabs - if (tabIndex >= 0) { + if (component == null && tabIndex >= 0) { paintTitle(g2d, font, metrics, textRect, tabIndex, title); }