Methods Summary |
---|
public void | addNotify()Creates the Panel's peer. The peer allows you to modify the
appearance of the panel without changing its functionality.
synchronized (getTreeLock()) {
if (peer == null)
peer = getToolkit().createPanel(this);
super.addNotify();
}
|
java.lang.String | constructComponentName()Construct a name for this component. Called by getName() when the
name is null.
synchronized (getClass()) {
return base + nameCounter++;
}
|
public javax.accessibility.AccessibleContext | getAccessibleContext()Gets the AccessibleContext associated with this Panel.
For panels, the AccessibleContext takes the form of an
AccessibleAWTPanel.
A new AccessibleAWTPanel instance is created if necessary.
if (accessibleContext == null) {
accessibleContext = new AccessibleAWTPanel();
}
return accessibleContext;
|