You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2005/01/16 21:39:10 UTC
cvs commit: jakarta-commons/launcher/src/java/org/apache/commons/launcher ChildMain.java
dirkv 2005/01/16 12:39:10
Modified: launcher/src/java/org/apache/commons/launcher ChildMain.java
Log:
Use the minimizedwindowicon attribute of the launcher task but the icon does not show up.
issue report + fix by Frederic Borry
Revision Changes Path
1.6 +1 -1 jakarta-commons/launcher/src/java/org/apache/commons/launcher/ChildMain.java
Index: ChildMain.java
===================================================================
RCS file: /home/cvs/jakarta-commons/launcher/src/java/org/apache/commons/launcher/ChildMain.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChildMain.java 16 Jan 2005 20:16:06 -0000 1.5
+++ ChildMain.java 16 Jan 2005 20:39:10 -0000 1.6
@@ -201,7 +201,7 @@
if (title != null)
frame.setTitle(title);
frame.setState(Frame.ICONIFIED);
- String icon = System.getProperty(ChildMain.MINIMIZED_WINDOW_TITLE_PROP_NAME);
+ String icon = System.getProperty(ChildMain.MINIMIZED_WINDOW_ICON_PROP_NAME);
if (icon != null) {
Image iconImage = Toolkit.getDefaultToolkit().createImage(icon);
if (iconImage != null)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org