SPanel p = new SPanel();
controls = new FileChooserControls();
    public SComponent createExample() {        SPanel p = new SPanel();        try {            java.net.URL templateURL = getSession().getServletContext().getResource(TEMPLATE);            p.setLayout(new STemplateLayout(templateURL));        } catch (Exception e) {            // template not found ?        }        p.add(createControlForm(), "controlForm");        p.add(createUpload(), "uploadForm");        p.add(createPreview(), "previewArea");        return p;    }