Hi,

I committed the attached patch that fixes the componentOrientation to
fire a PropertyChangeEvent as checked in my mauve test.

2005-03-11  Roman Kennke  <[EMAIL PROTECTED]>

        * java/awt/Compmonent.java
        (setComponentOrientation): Made this property firing a
        PropertyChangeEvent.


/Roman

Index: java/awt/Component.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Component.java,v
retrieving revision 1.53
diff -u -r1.53 Component.java
--- java/awt/Component.java	16 Feb 2005 10:39:25 -0000	1.53
+++ java/awt/Component.java	11 Mar 2005 12:03:47 -0000
@@ -4439,9 +4439,11 @@
    */
   public void setComponentOrientation(ComponentOrientation o)
   {
+    ComponentOrientation oldOrientation = orientation;
     if (o == null)
       throw new NullPointerException();
     orientation = o;
+    firePropertyChange("componentOrientation", oldOrientation, o);
   }
 
   /**
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to