add(new SSeparator()); add(new SLabel("<h4>Table out of a form with multiple selection</h4>"));
add(new SLabel("<h4>Table outside a form with multiple selection</h4>"));
    public TableExample() {        super(new SFlowDownLayout());        add(new SSeparator());        add(new SLabel("<h4>Table out of a form with multiple selection</h4>"));        table.setSelectionMode(MULTIPLE_SELECTION);        // table.setShowGrid(false);        add(table);        add(new SSeparator());        form.add(new SLabel("<h4>Table in a form with single selection</h4>"));        formTable.setSelectionMode(SINGLE_SELECTION);        form.add(formTable);        form.add(new SButton("SUBMIT"));        add(form);        add(new SSeparator());        SHRef href = new SHRef("View Source Code");        href.setReference("/demo/wingset/" +                          getClass().getName().substring(getClass().getName().indexOf('.') +1) + ".java");        add(href);    }