--- old/src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java 2016-01-25 00:12:41.000000000 +0400 +++ new/src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java 2016-01-25 00:12:41.000000000 +0400 @@ -1076,16 +1076,16 @@ g.fillRect(textX - 1, paintTextR.y, paintTextR.width + 2, fm.getAscent() + 2); g.setColor(getForeground()); - SwingUtilities2.drawString(filechooser, g, clippedText, textX, textY); + getTextUIDrawing().drawString(filechooser, g, clippedText, textX, textY); } else { final Color background = getBackground(); g.setColor(background); g.fillRect(textX - 1, paintTextR.y, paintTextR.width + 2, fm.getAscent() + 2); g.setColor(background.brighter()); - SwingUtilities2.drawString(filechooser, g, clippedText, textX, textY); + getTextUIDrawing().drawString(filechooser, g, clippedText, textX, textY); g.setColor(background.darker()); - SwingUtilities2.drawString(filechooser, g, clippedText, textX + 1, textY + 1); + getTextUIDrawing().drawString(filechooser, g, clippedText, textX + 1, textY + 1); } } }