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

Diff of /classpath/java/awt/Choice.java

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

revision 1.18 by mkoch, Wed Dec 29 14:18:25 2004 UTC revision 1.19 by mkoch, Thu Dec 30 19:02:06 2004 UTC
# Line 566  paramString() Line 566  paramString()
566      return (ItemListener[]) getListeners (ItemListener.class);      return (ItemListener[]) getListeners (ItemListener.class);
567    }    }
568    
569      /**
570       * Gets the AccessibleContext associated with this <code>Choice</code>.
571       * The context is created, if necessary.
572       *
573       * @return the associated context
574       */
575    public AccessibleContext getAccessibleContext()    public AccessibleContext getAccessibleContext()
576    {    {
577      return new AccessibleAWTChoice();      /* Create the context if this is the first request */
578        if (accessibleContext == null)
579          accessibleContext = new AccessibleAWTChoice();
580        return accessibleContext;
581    }    }
582  } // class Choice  } // class Choice

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