opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java
@@ -113,15 +113,7 @@ } }); frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); UIFactory.IconType ic; if (Utils.isMacOS()) { ic = UIFactory.IconType.MINIMIZED_MAC; } else { ic = UIFactory.IconType.MINIMIZED; } frame.setIconImage(UIFactory.getImageIcon(ic).getImage()); Utilities.setFrameIcon(frame); } /** opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/Utilities.java
@@ -27,6 +27,8 @@ package org.opends.quicksetup.ui; import org.opends.quicksetup.util.Utils; import javax.swing.*; import javax.swing.text.JTextComponent; import java.awt.*; @@ -74,4 +76,20 @@ return panel; } /** * Sets a frames image icon to the standard OpenDS icon appropriate * for the running platform. * * @param frame for which the icon will be set */ static public void setFrameIcon(JFrame frame) { UIFactory.IconType ic; if (Utils.isMacOS()) { ic = UIFactory.IconType.MINIMIZED_MAC; } else { ic = UIFactory.IconType.MINIMIZED; } frame.setIconImage(UIFactory.getImageIcon(ic).getImage()); } } opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/ui/StatusPanelDialog.java
@@ -68,6 +68,7 @@ import org.opends.quicksetup.event.MinimumSizeComponentListener; import org.opends.quicksetup.ui.UIFactory; import org.opends.quicksetup.ui.Utilities; import org.opends.quicksetup.util.HtmlProgressMessageFormatter; import org.opends.quicksetup.util.Utils; @@ -142,15 +143,7 @@ } }); setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); UIFactory.IconType ic; if (Utils.isMacOS()) { ic = UIFactory.IconType.MINIMIZED_MAC; } else { ic = UIFactory.IconType.MINIMIZED; } setIconImage(UIFactory.getImageIcon(ic).getImage()); Utilities.setFrameIcon(this); } /**