setHorizontalAlignment(CENTER);
setHorizontalAlignment(SConstants.CENTER);
    public SComponent createExample() {        SPanel p = new SPanel();        final SBorderLayout layout = new SBorderLayout();        setHorizontalAlignment(CENTER);        p.setLayout(layout);        SLabel label = new SLabel(WINGS_IMAGE);        label.setHorizontalAlignment(CENTER);        p.add(label, SBorderLayout.CENTER);        label = new SLabel("Welcome to");        label.setHorizontalAlignment(CENTER);        p.add(label, SBorderLayout.NORTH);        label = new SLabel("Have fun!");        label.setHorizontalAlignment(CENTER);        p.add(label, SBorderLayout.SOUTH);        return p;    }