613 |
} |
} |
614 |
} |
} |
615 |
|
|
616 |
|
/** |
617 |
|
* Gets the AccessibleContext associated with this <code>TextArea</code>. |
618 |
|
* The context is created, if necessary. |
619 |
|
* |
620 |
|
* @return the associated context |
621 |
|
*/ |
622 |
public AccessibleContext getAccessibleContext() |
public AccessibleContext getAccessibleContext() |
623 |
{ |
{ |
624 |
return new AccessibleAWTTextArea(); |
/* Create the context if this is the first request */ |
625 |
|
if (accessibleContext == null) |
626 |
|
accessibleContext = new AccessibleAWTTextArea(); |
627 |
|
return accessibleContext; |
628 |
} |
} |
629 |
} |
} |