final SCheckBox showAsFormComponent = new SCheckBox("<html>Show as Form Component&nbsp;&nbsp;&nbsp;");
final SCheckBox showAsFormComponent = new SCheckBox("Show as Form Component");
        public ScrollPaneControls () {            final SCheckBox showAsFormComponent = new SCheckBox("<html>Show as Form Component&nbsp;&nbsp;&nbsp;");            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);        }