textForm = new SForm();
textForm = new SPanel();
    protected SComponent createPreview() {        SPanel p = new SPanel(new SFlowDownLayout());        p.setVerticalAlignment(TOP);        SLabel previewLabel = new SLabel("Preview");        previewLabel.setBorder(new SEmptyBorder(0, 20, 0, 0));        p.add(previewLabel);        contentSwitcher = new SCardLayout();        SPanel contentPane = new SPanel(contentSwitcher);        iconLabel = new SLabel();        textForm = new SForm();        textArea = new STextArea();        textArea.setColumns(50);        textArea.setRows(20);        textArea.setEditable(false);        unknownLabel = new SLabel("Unknown Content");        unknownLabel.setBackground(WARN_COLOR);        contentPane.add(iconLabel, "ICON");        textForm.add(textArea);        contentPane.add(textForm, "TEXT");        contentPane.add(unknownLabel, "UNKNOWN");        contentSwitcher.show(unknownLabel);        contentPane.setBorder(new SEmptyBorder(10, 20, 0, 0));        p.add(contentPane);        return p;    }