diff options
author | Eric Blake <ebb9@byu.net> | 2002-05-06 02:43:17 +0000 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2002-05-06 02:43:17 +0000 |
commit | fb0219dcce2e53020800c655562b5f7351b0579b (patch) | |
tree | 9f82123162f4b28fe313e1777997035fb852cabf /java/applet/Applet.java | |
parent | d76bb31a7c2246eea1f5f1b9624b8ddf1d841b88 (diff) | |
download | classpath-fb0219dcce2e53020800c655562b5f7351b0579b.tar.gz |
2002-05-05 Eric Blake <ebb9@email.byu.edu>
* java/applet/Applet.java (getAccessibleState): Update.
* java/awt/AWTEvent.java (INPUT_ENABLED_EVENT_MASK): New flag.
* java/awt/AWTKeyStroke.java (keyCode): Make more visible.
* java/awt/AlphaComposite.java: New file (needs documentation).
* java/awt/AttributeValue.java: New file.
* java/awt/BasicStroke.java: New file (needs docs).
* java/awt/BufferCapabilities.java: New file (needs docs).
* java/awt/Button.java (getActionListeners, getListeners): Use new
features of AWTEventMulticater.
* java/awt/Component.java: Partial update to 1.4.
* java/awt/ComponentOrientation.java: Update to 1.4.
* java/awt/Container.java (getContainerListeners, getListeners):
Use new features of AWTEventMulticaster.
* java/awt/ContainerOrderFocusTraversalPolicy.java: New
file (stubbed, needs docs).
* java/awt/DefaultFocusTraversalPolicy.java: New file (stubbed).
* java/awt/DefaultKeyboardFocusManager.java: New file (stubbed).
* java/awt/FocusTraversalPolicy.java: New file (needs docs).
* java/awt/GradientPaint.java: New file (stubbed).
* java/awt/GraphicsConfiguration.java: Update to 1.4.
* java/awt/ImageCapabilities.java: New file (stubbed).
* java/awt/Insets.java: Update to 1.4.
* java/awt/JobAttributes.java: New file (needs docs).
* java/awt/KeyboardFocusManager.java: New file (partially
stubbed).
* java/awt/Makefile.am (EXTRA_DIST): Account for new files.
* java/awt/MenuItem.java (getActionListeners, getListeners): Use
new features of AWTEventMulticaster.
* java/awt/PageAttributes.java: New file (needs docs).
* java/awt/PaintContext.java (paint): Remove redundant keyword.
* java/awt/PrintJob.java: Update to 1.4.
* java/awt/RenderingHints.java: Partial update to 1.4 (needs docs).
* java/awt/Robot.java: New file (stubbed).
* java/awt/TexturePaint.java: New file (stubbed).
* java/awt/Window.java (getWindowListeners, getListeners): Use new
features of AWTEventMulticaster.
* java/awt/geom/Arc2D.java: Implement and document.
* java/awt/geom/Rectangle2D.java: Fix doc typo.
Diffstat (limited to 'java/applet/Applet.java')
-rw-r--r-- | java/applet/Applet.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/applet/Applet.java b/java/applet/Applet.java index d97009778..5990c6392 100644 --- a/java/applet/Applet.java +++ b/java/applet/Applet.java @@ -491,16 +491,16 @@ public class Applet extends Panel /** * Get the state set of this accessible object. In addition to the default - * states of a Component, the applet is also active. + * states of a Component, the applet can also be active. * * @return the role of the object * @see AccessibleState */ public AccessibleStateSet getAccessibleStateSet() { - // XXX Make sure that this is correct. AccessibleStateSet s = super.getAccessibleStateSet(); - s.add(AccessibleState.ACTIVE); + if (isActive()) + s.add(AccessibleState.ACTIVE); return s; } } // class AccessibleApplet |