if (! this.isLightweight() && dispatcher == null) { dispatcher = new LightweightDispatcher (this); dispatcher.enableEvents (component[i].eventMask); }
  private void addNotifyContainerChildren()  {    synchronized (getTreeLock ())      {        for (int i = ncomponents;  --i >= 0; )          {            component[i].addNotify();            if (component[i].isLightweight ())	      {		enableEvents(component[i].eventMask);		if (peer != null && !isLightweight ())		  enableEvents (AWTEvent.PAINT_EVENT_MASK);	      }          }      }  }