--- old/src/java.desktop/macosx/classes/com/apple/laf/AquaProgressBarUI.java 2016-01-25 00:12:49.000000000 +0400 +++ new/src/java.desktop/macosx/classes/com/apple/laf/AquaProgressBarUI.java 2016-01-25 00:12:49.000000000 +0400 @@ -204,7 +204,7 @@ if (isHorizontal()) { g2.setColor(selectionForeground); - SwingUtilities2.drawString(progressBar, g2, progressString, renderLocation.x, renderLocation.y); + getTextUIDrawing().drawString(progressBar, g2, progressString, renderLocation.x, renderLocation.y); } else { // VERTICAL // We rotate it -90 degrees, then translate it down since we are going to be bottom up. final AffineTransform savedAT = g2.getTransform(); @@ -214,7 +214,7 @@ // 0,0 is now the bottom left of the viewable area, so we just draw our image at // the render location since that calculation knows about rotation. g2.setColor(selectionForeground); - SwingUtilities2.drawString(progressBar, g2, progressString, renderLocation.x, renderLocation.y); + getTextUIDrawing().drawString(progressBar, g2, progressString, renderLocation.x, renderLocation.y); g2.setTransform(savedAT); }