From 866b3cf467c63d2ade7abff71d1d016221a2a25b Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 25 Jul 2023 18:58:07 -0400 Subject: [PATCH] remove errant (commented out) references to old icons --- core/src/processing/awt/PSurfaceAWT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/processing/awt/PSurfaceAWT.java b/core/src/processing/awt/PSurfaceAWT.java index 59068131f..06337ba38 100644 --- a/core/src/processing/awt/PSurfaceAWT.java +++ b/core/src/processing/awt/PSurfaceAWT.java @@ -541,11 +541,9 @@ public class PSurfaceAWT extends PSurfaceNone { final int[] sizes = { 16, 32, 48, 64, 128, 256, 512 }; for (int sz : sizes) { - //URL url = getClass().getResource("/icon/icon-" + sz + ".png"); URL url = PApplet.class.getResource("/icon/icon-" + sz + ".png"); Image image = Toolkit.getDefaultToolkit().getImage(url); iconImages.add(image); - //iconImages.add(Toolkit.getLibImage("icons/pde-" + sz + ".png", frame)); } } frame.setIconImages(iconImages);