panel = new SPanel(new SGridLayout(2,1)); panel.add(new SLabel("<h4>Image Buttons not in a form</h4>")); panel.add(new SLabel("<h5>TestBC and TestBR are disabled</h5>")); panel.add(createImageButtonExample()); cont.add(panel);   SForm form = new SForm(new SGridLayout(2,1)); form.add(new SLabel("<h4>Buttons in a form</h4>")); panel.add(new SLabel("<h5>TestBC and TestBR are disabled</h5>")); form.add(createButtonExample()); cont.add(form);  form = new SForm(new SGridLayout(2,1)); form.add(new SLabel("<h4>Image Buttons in a form</h4>"));
form = new SForm(); form.add(new SLabel("<h4>Image buttons in a form</h4>"));
    SContainer createExample() {        SContainer cont = new SContainer(new SGridLayout(2,2));        SPanel panel = new SPanel(new SGridLayout(2,1));        panel.add(new SLabel("<h4>Buttons not in a form</h4>"));        panel.add(createButtonExample());        cont.add(panel);        panel = new SPanel(new SGridLayout(2,1));        panel.add(new SLabel("<h4>Image Buttons not in a form</h4>"));        panel.add(new SLabel("<h5>TestBC and TestBR are disabled</h5>"));        panel.add(createImageButtonExample());        cont.add(panel);        SForm form = new SForm(new SGridLayout(2,1));        form.add(new SLabel("<h4>Buttons in a form</h4>"));        panel.add(new SLabel("<h5>TestBC and TestBR are disabled</h5>"));        form.add(createButtonExample());        cont.add(form);        form = new SForm(new SGridLayout(2,1));        form.add(new SLabel("<h4>Image Buttons in a form</h4>"));        form.add(createImageButtonExample());        cont.add(form);        return cont;    }