setChildItem(ButtonPanel.OK_BUTTON, createChildItem(getDefaultOkButton())); setChildItem(ButtonPanel.CANCEL_BUTTON, createChildItem(getDefaultCancelButton())); setChildItem(ButtonPanel.YES_BUTTON, createChildItem(getDefaultYesButton())); setChildItem(ButtonPanel.NO_BUTTON, createChildItem(getDefaultNoButton())); setChildItem(ButtonPanel.APPLY_BUTTON, createChildItem(getDefaultApplyButton())); setChildItem(ButtonPanel.RESET_BUTTON, createChildItem(getDefaultResetButton())); setChildItem(ButtonPanel.HELP_BUTTON, createChildItem(getDefaultHelpButton())); setChildItem(ButtonPanel.CLOSE_BUTTON, createChildItem(getDefaultCloseButton()));
setChild(ButtonPanel.OK_BUTTON, createChild(getDefaultOkButton())); setChild(ButtonPanel.CANCEL_BUTTON, createChild(getDefaultCancelButton())); setChild(ButtonPanel.YES_BUTTON, createChild(getDefaultYesButton())); setChild(ButtonPanel.NO_BUTTON, createChild(getDefaultNoButton())); setChild(ButtonPanel.APPLY_BUTTON, createChild(getDefaultApplyButton())); setChild(ButtonPanel.RESET_BUTTON, createChild(getDefaultResetButton())); setChild(ButtonPanel.HELP_BUTTON, createChild(getDefaultHelpButton())); setChild(ButtonPanel.CLOSE_BUTTON, createChild(getDefaultCloseButton()));
    public void initialize() throws Exception {        super.initialize();        setChildItem(ButtonPanel.OK_BUTTON, createChildItem(getDefaultOkButton()));        setChildItem(ButtonPanel.CANCEL_BUTTON, createChildItem(getDefaultCancelButton()));        setChildItem(ButtonPanel.YES_BUTTON, createChildItem(getDefaultYesButton()));        setChildItem(ButtonPanel.NO_BUTTON, createChildItem(getDefaultNoButton()));        setChildItem(ButtonPanel.APPLY_BUTTON, createChildItem(getDefaultApplyButton()));        setChildItem(ButtonPanel.RESET_BUTTON, createChildItem(getDefaultResetButton()));        setChildItem(ButtonPanel.HELP_BUTTON, createChildItem(getDefaultHelpButton()));        setChildItem(ButtonPanel.CLOSE_BUTTON, createChildItem(getDefaultCloseButton()));    }