p.add(createTextComponentExample(textArea));
textArea.addDocumentListener(documentListener); p.add(textArea);
    public SComponent createExample() {        controls = new ComponentControls();        SPanel p = new SPanel(new SGridLayout(2));        STextField textField = new STextField();        textField.setName("textfield");        p.add(createTextComponentExample(textField));        STextArea textArea = new STextArea();        textArea.setName("textarea");        p.add(createTextComponentExample(textArea));        SPanel f = new SPanel(new SBorderLayout());        f.add(controls, SBorderLayout.NORTH);        f.add(p, SBorderLayout.CENTER);        return f;    }