public void setBackgroundImage(SIcon img) { backgroundImage = img; if (img == null) {
public void setBackgroundImage(SIcon icon) { backgroundImage = icon; if (icon == null) {
    public void setBackgroundImage(SIcon img) {        backgroundImage = img;        if (img == null) {            removeAttribute(StyleConstants.BACKGROUND_IMAGE);        }        else {            setAttribute(StyleConstants.BACKGROUND_IMAGE,                          "url(" + img.getURL().toString() + ")");        }    }