/[classpath]/classpath/java/awt/Menu.java
ViewVC logotype

Diff of /classpath/java/awt/Menu.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by mkoch, Tue Nov 23 18:18:13 2004 UTC revision 1.19 by mkoch, Thu Dec 30 19:02:06 2004 UTC
# Line 451  paramString() Line 451  paramString()
451      }      }
452    }    }
453    
454    /* (non-Javadoc)    /**
455     * @see java.awt.MenuComponent#getAccessibleContext()     * Gets the AccessibleContext associated with this <code>Menu</code>.
456       * The context is created, if necessary.
457       *
458       * @return the associated context
459     */     */
460    public AccessibleContext getAccessibleContext()    public AccessibleContext getAccessibleContext()
461    {    {
462      return new AccessibleAWTMenu();      /* Create the context if this is the first request */
463        if (accessibleContext == null)
464          accessibleContext = new AccessibleAWTMenu();
465        return accessibleContext;
466    }    }
467    
468  } // class Menu  } // class Menu

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26