[gui] Implement accessibility for menu classes

Michael Koch konqueror@gmx.de
Wed Dec 29 09:40:00 GMT 2004


Am Mittwoch, 29. Dezember 2004 00:53 schrieb Jerry Quinn:
> +    /* Create the context if this is the first request */
> +    if (accessibleContext == null)
> +      {
> +        /* Create the context */
> +        accessibleContext = new AccessibleAWTCheckboxMenuItem();
> +      }
> +    return accessibleContext;

Don't you think the code speaks enough without comments in this case ? 
Comments are useful but too many comments can obscure code more then 
needed.


Michael
-- 
Homepage: http://www.worldforge.org/



More information about the Java-patches mailing list