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

Diff of /classpath/java/awt/PopupMenu.java

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

revision 1.14 by mkoch, Tue Nov 23 18:18:13 2004 UTC revision 1.15 by mkoch, Thu Dec 30 19:02:06 2004 UTC
# Line 151  show(Component component, int x, int y) Line 151  show(Component component, int x, int y)
151            
152    }    }
153        
154      /**
155       * Gets the AccessibleContext associated with this <code>PopupMenu</code>.
156       * The context is created, if necessary.
157       *
158       * @return the associated context
159       */
160    public AccessibleContext getAccessibleContext()    public AccessibleContext getAccessibleContext()
161    {    {
162      return new AccessibleAWTPopupMenu();      /* Create the context if this is the first request */
163        if (accessibleContext == null)
164          accessibleContext = new AccessibleAWTPopupMenu();
165        return accessibleContext;
166    }    }
167    
168  } // class PopupMenu  } // class PopupMenu

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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