add(new SLabel(" component to scroll "));
        public ScrollPaneControls () {            final SCheckBox showAsFormComponent = new SCheckBox("Show as Form Component");            showAsFormComponent.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent e) {                    boolean selected = showAsFormComponent.isSelected();                    table.setShowAsFormComponent(selected);                    ((SScrollBar)scrollPane.getHorizontalScrollBar()).setShowAsFormComponent( selected);                    ((SScrollBar)scrollPane.getVerticalScrollBar()).setShowAsFormComponent(selected);                }            });            add(showAsFormComponent);            final SCheckBox paging = new SCheckBox("Paged Scrolling");            paging.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent e) {                    boolean selected = paging.isSelected();                    ((SScrollPaneLayout)scrollPane.getLayout()).setPaging(selected);                }            });            paging.setSelected(true);            add(paging);            final SRadioButton tableButton = new SRadioButton("table");            final SRadioButton treeButton = new SRadioButton("tree");            final SButtonGroup group = new SButtonGroup();            group.add(tableButton);            group.add(treeButton);            tableButton.setSelected(true);            group.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent e) {                    if (tableButton.isSelected()) {                        showInPane(table);                    } else {                        showInPane(tree);                    }                }                            });            add(new SLabel(" component to scroll "));            add(tableButton);            add(treeButton);        }