[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: implemented ImageIcon setImage
Kaffe CVS
cvs-commits at kaffe.org
Thu Jan 6 05:12:50 PST 2005
PatchSet 5786
Date: 2005/01/06 13:08:01
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: implemented ImageIcon setImage
Members:
ChangeLog:1.3330->1.3331
libraries/javalib/javax/swing/ImageIcon.java:1.3->1.4
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3330 kaffe/ChangeLog:1.3331
--- kaffe/ChangeLog:1.3330 Thu Jan 6 13:03:47 2005
+++ kaffe/ChangeLog Thu Jan 6 13:08:01 2005
@@ -2,6 +2,14 @@
Resynced with GNU Classpath.
+ 2004-12-30 Paul Jenner <psj.home at ntlworld.com>
+
+ * javax/swing/ImageIcon.java (setImage): Implemented.
+
+2005-01-06 Dalibor Topic <robilad at kaffe.org>
+
+ Resynced with GNU Classpath.
+
2004-12-30 Andrew John Hughes <gnu_andrew at member.fsf.org>
* java/text/DecimalFormatSymbols.java
Index: kaffe/libraries/javalib/javax/swing/ImageIcon.java
diff -u kaffe/libraries/javalib/javax/swing/ImageIcon.java:1.3 kaffe/libraries/javalib/javax/swing/ImageIcon.java:1.4
--- kaffe/libraries/javalib/javax/swing/ImageIcon.java:1.3 Sun Aug 8 19:46:02 2004
+++ kaffe/libraries/javalib/javax/swing/ImageIcon.java Thu Jan 6 13:08:06 2005
@@ -114,6 +114,11 @@
return image;
}
+ public void setImage(Image image)
+ {
+ this.image = Toolkit.getDefaultToolkit().createImage(image.getSource());
+ }
+
public String getDescription()
{
return description;
More information about the kaffe
mailing list