{
// should be safe to cache by defaultHandler.
// since wizard page is the top level page, the
// default action handler instances should
// be the ones registered with the application.
WizardFrame exitFrame = wizard.getExitFrame();
WizardExitActionHandler handler =
(WizardExitActionHandler)exitFrame.getAttribute(defaultHandler);
if (handler == null) {
handler = new WizardExitActionHandler(defaultHandler, wizard);
exitFrame.setAttribute(defaultHandler, handler);
}
return handler;
}