button.setIcon((SIcon) manager.getObject("SCheckBox.icon", SIcon.class)); button.setSelectedIcon((SIcon) manager.getObject("SCheckBox.selectedIcon", SIcon.class)); button.setRolloverIcon((SIcon) manager.getObject("SCheckBox.rolloverIcon", SIcon.class)); button.setRolloverSelectedIcon((SIcon) manager.getObject("SCheckBox.rolloverSelectedIcon", SIcon.class)); button.setPressedIcon((SIcon) manager.getObject("SCheckBox.pressedIcon", SIcon.class)); button.setDisabledIcon((SIcon) manager.getObject("SCheckBox.disabledIcon", SIcon.class)); button.setDisabledSelectedIcon((SIcon) manager.getObject("SCheckBox.disabledSelectedIcon", SIcon.class));
button.setIcon(ICON_DEFAULT); button.setSelectedIcon(ICON_SELECTED); button.setRolloverIcon(ICON_ROLLOVER); button.setRolloverSelectedIcon(ICON_ROLLOVERSELECTED); button.setPressedIcon(ICON_PRESSED); button.setDisabledIcon(ICON_DISABLED); button.setDisabledSelectedIcon(ICON_DISABLEDSELECTED);
    protected void installIcons(final SAbstractButton button) {        org.wings.plaf.CGManager manager = button.getSession().getCGManager();        button.setIcon((SIcon) manager.getObject("SCheckBox.icon", SIcon.class));        button.setSelectedIcon((SIcon) manager.getObject("SCheckBox.selectedIcon", SIcon.class));        button.setRolloverIcon((SIcon) manager.getObject("SCheckBox.rolloverIcon", SIcon.class));        button.setRolloverSelectedIcon((SIcon) manager.getObject("SCheckBox.rolloverSelectedIcon", SIcon.class));        button.setPressedIcon((SIcon) manager.getObject("SCheckBox.pressedIcon", SIcon.class));        button.setDisabledIcon((SIcon) manager.getObject("SCheckBox.disabledIcon", SIcon.class));        button.setDisabledSelectedIcon((SIcon) manager.getObject("SCheckBox.disabledSelectedIcon", SIcon.class));    }