* appearance of the menu component without changing the functionality of
* the menu component.
*/
public void removeNotify() {
synchronized (getTreeLock()) {
MenuComponentPeer p = (MenuComponentPeer)this.peer;
if (p != null) {
Toolkit.getEventQueue().removeSourceEvents(this, true);
this.peer = null;
p.dispose();
}
}
}