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 |
/** |
/** |