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

Diff of /classpath/java/awt/Button.java

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

revision 1.18 by mkoch, Wed Dec 29 11:15:02 2004 UTC revision 1.19 by mkoch, Thu Dec 30 19:02:06 2004 UTC
# Line 428  paramString() Line 428  paramString()
428      + getWidth () + "x" + getHeight () + ",label=" + getLabel ();      + getWidth () + "x" + getHeight () + ",label=" + getLabel ();
429  }  }
430    
431    /**
432     * Gets the AccessibleContext associated with this <code>Button</code>.
433     * The context is created, if necessary.
434     *
435     * @return the associated context
436     */
437  public AccessibleContext getAccessibleContext()  public AccessibleContext getAccessibleContext()
438  {  {
439    return new AccessibleAWTButton();    /* Create the context if this is the first request */
440      if (accessibleContext == null)
441        accessibleContext = new AccessibleAWTButton();
442      return accessibleContext;
443  }  }
444    
445    /**    /**

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