From 551b8e85ac17816e979834ea63b714876398162b Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Wed, 31 Aug 2011 15:29:54 -0400 Subject: [PATCH] Don't use the low-res icon on Mac OS X. http://code.google.com/p/arduino/issues/detail?id=612 --- app/src/processing/app/Base.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 2e3d7b346..2326dbc80 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -1722,6 +1722,10 @@ public class Base { * Give this Frame a Processing icon. */ static public void setIcon(Frame frame) { + // don't use the low-res icon on Mac OS X; the window should + // already have the right icon from the .app file. + if (Base.isMacOS()) return; + Image image = Toolkit.getDefaultToolkit().createImage(PApplet.ICON_IMAGE); frame.setIconImage(image); }