summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-12-17 14:30:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-12-17 14:30:43 +0000
commit4a5103629ada23ca1ab85d04833a9e4e5d6aac6b (patch)
tree2ee886b7f3bfa3e080e285c223637dd69a58941d /accessibility
parent1de93f70da38ec55bb704be3c88b48811f1a6b95 (diff)
INTEGRATION: CWS geordi2q11 (1.8.28); FILE MERGED
2003/12/15 16:13:00 hr 1.8.28.1: #111934#: join CWS gnomeaccpp1r1
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Component.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Component.java b/accessibility/bridge/org/openoffice/java/accessibility/Component.java
index ed0ac64126ec..b752a3fe0d5e 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Component.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Component.java
@@ -2,9 +2,9 @@
*
* $RCSfile: Component.java,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: vg $ $Date: 2003-07-01 14:59:45 $
+ * last change: $Author: vg $ $Date: 2003-12-17 15:30:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -257,6 +257,9 @@ public abstract class Component extends java.awt.Component {
break;
case AccessibleStateType.ENABLED:
setEnabled(enable);
+ // Since we can't access awt.Componet.accessibleContext, we need to fire
+ // this event manually ..
+ fireStatePropertyChange(AccessibleState.ENABLED, enable);
break;
case AccessibleStateType.FOCUSED:
getEventQueue().postEvent(new java.awt.event.FocusEvent(