&& (comp.isLightweight() || !lightweightOnly && ! (comp instanceof Container));
&& (comp.isLightweight() || !lightweightOnly);
  private void visitChildren(Graphics gfx, GfxVisitor visitor,                             boolean lightweightOnly)  {    synchronized (getTreeLock ())      {        for (int i = ncomponents - 1; i >= 0; --i)          {            Component comp = component[i];            // If we're visiting heavyweights as well,            // don't recurse into Containers here. This avoids            // painting the same nested child multiple times.            boolean applicable = comp.isVisible()              && (comp.isLightweight()                  || !lightweightOnly && ! (comp instanceof Container));            if (applicable)              visitChild(gfx, visitor, comp);	  }      }  }