borderLabel.setBackground(new java.awt.Color(180, 180, 255));
borderLabel.setBackground(new Color(222, 222, 222));
    public SComponent createExample() {        SPanel p1 = new SPanel();        try {            SLayoutManager layout1 = createResourceTemplate("/templates/BorderExample.thtml");            p1.setLayout(layout1);        }        catch ( Exception e ) {            p1.add(new SLabel("Sorry, can't find " + "/templates/BorderExample.thtml"                + " in resources"));        }        SPanel p = p1;        final SLabel borderLabel = new SLabel(WAIT_ICON);        borderLabel.setBackground(new java.awt.Color(180, 180, 255));        p.add(borderLabel, "BorderExample");        SPanel buttons = new SPanel();        buttons.setLayout(new SGridLayout(2, 2));        SButtonGroup group = new SButtonGroup();        final SRadioButton rb = new SRadioButton("Raised");        group.add(rb); buttons.add(rb);        final SRadioButton lb = new SRadioButton("Lowered");        group.add(lb); buttons.add(lb);        final SRadioButton lineb = new SRadioButton("Line");        group.add(lineb); buttons.add(lineb);        final SRadioButton eb = new SRadioButton("Title");        group.add(eb); buttons.add(eb);                group.addActionListener (new ActionListener() {                public void actionPerformed(ActionEvent e) {                    SButtonGroup g = (SButtonGroup) e.getSource();                    Object button = g.getSelection();                    if (button == rb) {                        borderLabel.setText("Raised Border");                        borderLabel.setBorder(raised);                    }                    else if (button == lb) {                        borderLabel.setText("Lowered Border");                        borderLabel.setBorder(lowered);                    }                    else if (button == lineb) {                        borderLabel.setText("Line Border");                        borderLabel.setBorder(line);                    }                    else if (button == eb) {                        borderLabel.setText("Titled Border");                        borderLabel.setBorder(titled);                    }                }            });        rb.setSelected(true); // default: raised        p.add(buttons, "Modifier");        return p;    }