changeset 29254 | ef3c884cefec |
parent 27268 | 56ae490e62d2 |
child 32865 | f9cb6e427f9e |
--- a/jdk/src/java.desktop/macosx/classes/com/apple/laf/AquaIcon.java Mon Feb 16 10:34:52 2015 +0100 +++ b/jdk/src/java.desktop/macosx/classes/com/apple/laf/AquaIcon.java Mon Feb 16 19:10:05 2015 +0300 @@ -195,7 +195,7 @@ AquaPainter.create(JRSUIState.getInstance()); initIconPainter(painter); - g.setClip(new Rectangle(x, y, width, height)); + g.clipRect(x, y, width, height); painter.paint(g, c, x, y, width, height); g.dispose(); }