if (! this.isLightweight()) { if (dispatcher == null)
if (!this.isLightweight() && dispatcher == null)
  private void addNotifyContainerChildren()  {    synchronized (getTreeLock ())      {        for (int i = ncomponents;  --i >= 0; )          {            component[i].addNotify();            if (component[i].isLightweight ())	      {                // If we're not lightweight, and we just got a lightweight                // child, we need a lightweight dispatcher to feed it events.                if (! this.isLightweight())                   {                    if (dispatcher == null)                    dispatcher = new LightweightDispatcher (this);                  }		  		enableEvents(component[i].eventMask);		if (peer != null && !isLightweight ())		  enableEvents (AWTEvent.PAINT_EVENT_MASK);	      }          }      }  }