[Patch] java.awt.Component
Michael Koch
konqueror@gmx.de
Mon Apr 18 20:53:00 GMT 2005
Hi list,
I just merged the attached patch from GNU classpath to HEAD to fix the
implementation of setComponentOrientation().
Michael
2005-04-18 Roman Kennke <roman@kennke.org>
* java/awt/Compmonent.java
(setComponentOrientation): Made this property firing a
PropertyChangeEvent.
-------------- next part --------------
Index: java/awt/Component.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Component.java,v
retrieving revision 1.47
diff -u -r1.47 Component.java
--- java/awt/Component.java 17 Feb 2005 07:48:23 -0000 1.47
+++ java/awt/Component.java 18 Apr 2005 20:51:57 -0000
@@ -4441,7 +4441,9 @@
{
if (o == null)
throw new NullPointerException();
+ ComponentOrientation oldOrientation = orientation;
orientation = o;
+ firePropertyChange("componentOrientation", oldOrientation, o);
}
/**
More information about the Java-patches
mailing list