panel.add(new SLabel("<html><hr><br>combobox(disappear) :")); panel.add(new SComboBox(new DefaultComboBoxModel(ListExample.createElements())), "ComboBox"); panel.add(new SLabel("<html><br>list(disappear):")); SList list = new SList(ListExample.createListModel()); list.setVisibleRowCount(3); panel.add(list, "List"); panel.add(new SLabel("<html><br>textfield(stay visible):")); panel.add(new STextField("wingS is great"), "TextField"); panel.add(new SLabel("<html><br>textarea(stay visible):")); panel.add(new STextArea("wingS is a great framework for implementing complex web applications"), "TextArea");
    public SComponent createExample() {        SPanel panel = new SPanel();        selectionLabel = new SLabel("nothing selected");        panel.add(createMenuBar(TreeExample.ROOT_NODE), "MenuBar");        panel.add(selectionLabel, "SelectionLabel");        return panel;    }