# HG changeset patch # User David Barts # Date 1588315104 25200 # Node ID aa9ab6cbaa26cec027d0448f59ef7c504bbb0bad # Parent bcbc92ffe0d0a891af1b3f7a279a7b0d230b2190 Duke has been banished from the dock. diff -r bcbc92ffe0d0 -r aa9ab6cbaa26 build.xml --- a/build.xml Thu Apr 30 21:22:30 2020 -0700 +++ b/build.xml Thu Apr 30 23:38:24 2020 -0700 @@ -210,6 +210,8 @@ + diff -r bcbc92ffe0d0 -r aa9ab6cbaa26 src/name/blackcap/exifwasher/MainFrame.kt --- a/src/name/blackcap/exifwasher/MainFrame.kt Thu Apr 30 21:22:30 2020 -0700 +++ b/src/name/blackcap/exifwasher/MainFrame.kt Thu Apr 30 23:38:24 2020 -0700 @@ -14,6 +14,7 @@ import java.util.logging.Level import java.util.logging.Logger import javax.swing.* +import javax.imageio.ImageIO /* the main frame itself */ class MainFrame : JFrame(Application.MYNAME) { @@ -63,6 +64,9 @@ } init { + if (OS.type != OS.MAC) { + setIconImage(ImageIO.read(this::class.java.getResourceAsStream("icon_48x48.png"))) + } contentPane.add( JLabel("Drag image files into this window or choose Fileā€¦ Wash from menu.").apply { horizontalAlignment = JLabel.CENTER