public ScControl createRoot() {
    _missing = new ScText();
    _missing.setValue("Skeleton Route no longer exists.");
    _missing.setHtmlClass(BLUE_TITLE_CLASS);
    _missing.setBoldAndNoWrap();

    _blockText = new ScText();
    _blockText.setLabel("Block");
    _blockText.setHtmlClass(BLUE_TITLE_CLASS);

    _details = new ScContainer();
    _details.useVerticalLayout();
    _details.add(_blockText);
    _details.addTextBold("Route");
    _details.add(createRouteGroup());
    _details.addTextBold("Flights");
    _details.add(createFlightGrid());
    _details.addButton(newAddLegCommand(), "Add Leg");
    _details.addSpace();
    _details.addTextBold("Offers");
    _details.add(createOffersGrid());
    _details.addButton(newAddOfferCommand(), "Add Offer");

    _form = new ScForm();
    _form.useCollapsibleRowLayout();
    _form.add(_missing);
    _form.add(_details);
    return _form;
  }
 public ScControl createRoot() {
   _form = new ScForm();
   _form.useVerticalLayout();
   _form.add(createTitleContainer());
   _form.add(createGroup());
   _form.addSpace();
   _form.addTextBold("Requested Routes");
   _form.add(createGrid());
   _form.addSpace();
   _form.add(createButtons());
   return _form;
 }
  public ScControl createRoot() {
    _numberField = new ScTextField();
    _numberField.setLabel("Number");
    _numberField.setWidth(40);
    _numberField.setDefaultFocus();

    ScCommand goCommand = newGoCommand();

    ScForm f = new ScForm();
    f.setDefaultCommand(goCommand);
    ScGroup g = f.addGroup();
    g.useColumnLayout();

    ScContainer fields = g.addFieldLayout();
    fields.add(_numberField);

    g.addSpace();
    g.addButton(goCommand, "Go");

    return f;
  }
 public ScControl createRoot() {
   _form = new ScForm();
   _form.add(createGroup());
   return _form;
 }