changeset 44651:42f6ed047d45

8043773: Deprecate JComponent.AccessibleJComponent.AccessibleFocusHandler Reviewed-by: alexsch, azvegint
author prr
date Tue, 28 Mar 2017 09:45:38 -0700
parents 4faa216d993f
children dd85f1cd5d1b
files jdk/src/java.desktop/share/classes/javax/swing/JComponent.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/classes/javax/swing/JComponent.java	Mon Mar 27 12:06:23 2017 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JComponent.java	Tue Mar 28 09:45:38 2017 -0700
@@ -3733,7 +3733,11 @@
          * Fire PropertyChange listener, if one is registered,
          * when focus events happen
          * @since 1.3
+         * @deprecated This class is no longer used or needed.
+         * {@code java.awt.Component.AccessibleAWTComponent} provides
+         * the same functionality and it is handled in {@Component}.
          */
+        @Deprecated
         protected class AccessibleFocusHandler implements FocusListener {
            public void focusGained(FocusEvent event) {
                if (accessibleContext != null) {