code: public static Iterator<Widget> getChildren(Widget w) {
      if (w instanceof Panel) {
        return ((Panel) w).iterator();
      }
      if (w instanceof Composite) {
        return getChildren(compositeGetWidget((Composite) w));
      }
      return null;
    }
docs: Return children of the first widget's panel.