This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[GUI] Patch: javax.swing.ImageIcon
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 9 Jun 2004 00:33:52 +0200
- Subject: [GUI] Patch: javax.swing.ImageIcon
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I just commited the attached patch to add a missing constructor to
javax.swing.ImageIcon. Fully implemented class follows tomorrow.
Michael
2004-06-09 Michael Koch <konqueror@gmx.de>
* javax/swing/ImageIcon.java
(ImageIcon): Added missing constructor.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAxj7WWSOgCCdjSDsRAv5AAJ0Zjq4LALBrHM3mWV9/35SH/MUIdgCeLCSV
2t6kuKEcr7oOO7O9iKdNjYM=
=adJc
-----END PGP SIGNATURE-----
Index: javax/swing/ImageIcon.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/ImageIcon.java,v
retrieving revision 1.2.18.2
diff -u -b -B -r1.2.18.2 ImageIcon.java
--- javax/swing/ImageIcon.java 7 Jun 2004 14:00:32 -0000 1.2.18.2
+++ javax/swing/ImageIcon.java 8 Jun 2004 22:30:50 -0000
@@ -62,6 +62,10 @@
this(s, s);
}
+ public ImageIcon(Image image)
+ {
+ }
+
public ImageIcon(String file,
String descr)
{