SPanel erg = new SPanel(new SFlowDownLayout());
SPanel erg = new SPanel();
    SContainer createImageButtonExample() {        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");        for ( int i=0; i<buttons.length; i++ ) {            buttons[i].setIcon(icon);            buttons[i].setDisabledIcon(disabledIcon);            buttons[i].setToolTipText("Button " + i);        }        buttons[4].setIcon((Icon)null);        //buttons[4].setIcon("http://194.95.24.168/~armin/WingSet/swing-64.gif");        buttons[0].setVerticalTextPosition(SConstants.TOP);        buttons[0].setHorizontalTextPosition(SConstants.LEFT);        buttons[1].setVerticalTextPosition(SConstants.TOP);        buttons[1].setHorizontalTextPosition(SConstants.CENTER);        buttons[2].setVerticalTextPosition(SConstants.TOP);        buttons[2].setHorizontalTextPosition(SConstants.RIGHT);        buttons[3].setVerticalTextPosition(SConstants.CENTER);        buttons[3].setHorizontalTextPosition(SConstants.LEFT);        buttons[4].setVerticalTextPosition(SConstants.CENTER);        buttons[4].setHorizontalTextPosition(SConstants.CENTER);        buttons[5].setVerticalTextPosition(SConstants.CENTER);        buttons[5].setHorizontalTextPosition(SConstants.RIGHT);        buttons[6].setVerticalTextPosition(SConstants.BOTTOM);        buttons[6].setHorizontalTextPosition(SConstants.LEFT);        buttons[7].setSelected(true);        buttons[7].setEnabled(false);        buttons[7].setVerticalTextPosition(SConstants.BOTTOM);        buttons[7].setHorizontalTextPosition(SConstants.CENTER);        buttons[8].setSelected(false);        buttons[8].setEnabled(false);        buttons[8].setVerticalTextPosition(SConstants.BOTTOM);        buttons[8].setHorizontalTextPosition(SConstants.RIGHT);        SPanel erg = new SPanel(new SFlowDownLayout());        SGridLayout grid = new SGridLayout(3,3);        grid.setBorder(1);        SPanel b = new SPanel(grid);        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<buttons.length; i++ ) {            buttons[i].addActionListener(action);        }        for ( int i=0; i<buttons.length; i++ )            b.add(buttons[i]);        erg.add(b);        erg.add(pressed);        return erg;    }