< prev index next >

src/java.desktop/macosx/classes/com/apple/laf/AquaTabbedPaneContrastUI.java

Print this page

        

@@ -69,11 +69,11 @@
             }
         } else {
             g2d.setColor(color);
         }
         g2d.setFont(font);
-        SwingUtilities2.drawString(tabPane, g2d, title, textRect.x, textRect.y + metrics.getAscent());
+        getTextUIDrawing().drawString(tabPane, g2d, title, textRect.x, textRect.y + metrics.getAscent());
     }
 
     protected static Color getSelectedTabTitleColor(boolean enabled, boolean pressed) {
         if (enabled && pressed) {
             return UIManager.getColor("TabbedPane.selectedTabTitlePressedColor");
< prev index next >