--- old/jdk/src/share/classes/javax/accessibility/AccessibleContext.java 2014-08-11 11:49:23.385558900 +0400 +++ new/jdk/src/share/classes/javax/accessibility/AccessibleContext.java 2014-08-11 11:49:23.025538300 +0400 @@ -29,11 +29,15 @@ import sun.awt.AppContext; import java.util.Locale; +import java.beans.JavaBean; +import java.beans.BeanProperty; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.beans.PropertyChangeEvent; import java.awt.IllegalComponentStateException; +import javax.swing.SwingContainer; + /** * AccessibleContext represents the minimum information all accessible objects * return. This information includes the accessible name, description, role, @@ -69,17 +73,13 @@ * minimum and maximum values. Any object that supports a numerical value * should support this interface. * - * - * @beaninfo - * attribute: isContainer false - * description: Minimal information that all accessible objects return - * - * @author Peter Korn * @author Hans Muller * @author Willie Walker * @author Lynn Monsanto */ +@JavaBean(description = "Minimal information that all accessible objects return") +@SwingContainer(false) public abstract class AccessibleContext { /** @@ -447,11 +447,9 @@ * * @see #getAccessibleName * @see #addPropertyChangeListener - * - * @beaninfo - * preferred: true - * description: Sets the accessible name for the component. */ + @BeanProperty(preferred = true, description + = "Sets the accessible name for the component.") public void setAccessibleName(String s) { String oldName = accessibleName; accessibleName = s; @@ -483,11 +481,9 @@ * * @see #setAccessibleName * @see #addPropertyChangeListener - * - * @beaninfo - * preferred: true - * description: Sets the accessible description for the component. */ + @BeanProperty(preferred = true, description + = "Sets the accessible description for the component.") public void setAccessibleDescription(String s) { String oldDescription = accessibleDescription; accessibleDescription = s;