SPanel text = new SPanel();
SButton[] buttons = new SButton[9]; buttons[0] = new SButton("testTL"); buttons[1] = new SButton("testTC"); buttons[2] = new SButton("testTR"); buttons[3] = new SButton("testCL"); buttons[4] = new SButton("testCC"); buttons[5] = new SButton("testCR"); buttons[6] = new SButton("testBL"); buttons[7] = new SButton("testBC"); buttons[8] = new SButton("testBR");
    SContainer createButtonExample() {        SPanel text = new SPanel();        final SLabel pressed = new SLabel("no Button pressed");        ActionListener action = new ActionListener() {            public void actionPerformed(ActionEvent e) {                pressed.setText("Button \"" + e.getActionCommand() + "\" pressed");            }        };        for ( int i=0; i<3; i++ ) {            SButton b = new SButton("text " + (i+1));            // b.setBorder(new SLineBorder(1));            b.addActionListener(action);            text.add(b);        }        text.add(new SLabel("<html><br />"));        text.add(pressed);        return text;    }