--- old/src/java.desktop/macosx/classes/com/apple/laf/AquaButtonUI.java 2016-01-25 00:12:38.000000000 +0400 +++ new/src/java.desktop/macosx/classes/com/apple/laf/AquaButtonUI.java 2016-01-25 00:12:38.000000000 +0400 @@ -415,7 +415,9 @@ /*** paint the text disabled ***/ g.setColor(defaultDisabledTextColor); } - SwingUtilities2.drawStringUnderlineCharAt(c, g, text, mnemonicIndex, localTextRect.x, localTextRect.y + fm.getAscent()); + getTextUIDrawing().drawStringUnderlineCharAt(c, g, text, mnemonicIndex, + localTextRect.x, + localTextRect.y + fm.getAscent()); } protected void paintText(final Graphics g, final AbstractButton b, final Rectangle localTextRect, final String text) {