< prev index next >

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

Print this page

        

@@ -364,11 +364,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 void rotateGraphics(final Graphics2D g2d, final Rectangle tabRect, final Rectangle textRect, final Rectangle iconRect, final int tabPlacement) {
         int yDiff = 0; // textRect.y - tabRect.y;
         int xDiff = 0; // (tabRect.x+tabRect.width) - (textRect.x+textRect.width);
< prev index next >