diff options
author | Roman Kennke <roman@kennke.org> | 2005-04-18 20:52:24 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2005-04-18 20:52:24 +0000 |
commit | deb760e4eab72527e247dc2e1aff06d9cda0a88b (patch) | |
tree | 75b93850e4a9c54f7b23905f64f1af568e187eab /libjava | |
parent | 89da1f320879631c80c3f1a756bbb85dafa51ea5 (diff) | |
download | gcc-deb760e4eab72527e247dc2e1aff06d9cda0a88b.zip gcc-deb760e4eab72527e247dc2e1aff06d9cda0a88b.tar.gz gcc-deb760e4eab72527e247dc2e1aff06d9cda0a88b.tar.bz2 |
2005-04-18 Roman Kennke <roman@kennke.org>
* java/awt/Compmonent.java
(setComponentOrientation): Made this property firing a
PropertyChangeEvent.
From-SVN: r98349
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/java/awt/Component.java | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 6a96409..b051376 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,11 @@ 2005-04-18 Roman Kennke <roman@kennke.org> + * java/awt/Compmonent.java + (setComponentOrientation): Made this property firing a + PropertyChangeEvent. + +2005-04-18 Roman Kennke <roman@kennke.org> + * java/awt/BorderLayout.java (calcSize): Check for overflow when component sizes are added. diff --git a/libjava/java/awt/Component.java b/libjava/java/awt/Component.java index 847a31d..b6ecb01 100644 --- a/libjava/java/awt/Component.java +++ b/libjava/java/awt/Component.java @@ -4441,7 +4441,9 @@ p * <li>the set of backward traversal keys { if (o == null) throw new NullPointerException(); + ComponentOrientation oldOrientation = orientation; orientation = o; + firePropertyChange("componentOrientation", oldOrientation, o); } /** |