code: public static SimplePanel newSimplePanel (String styleName, Widget widget)
      {
          SimplePanel panel = new SimplePanel();
          if (widget != null) {
              panel.setWidget(widget);
          }
          return setStyleNames(panel, styleName);
      }
docs: Creates a SimplePanel with the supplied style and widget