setChildItem(Launcher.SHUTDOWN_HOOK, createShutdownHook()); setChildItem(Launcher.SHUTDOWN_FLAG, (Boolean) getDefaultShutdownFlagCategory());
setChild(Launcher.SHUTDOWN_HOOK, createShutdownHook()); setChild(Launcher.SHUTDOWN_FLAG, (Boolean) getDefaultShutdownFlagCategory());
    public void initialize() throws Exception {        super.initialize();        if (getArgument(Launcher.HELP_ARGUMENT, null) != null) {            setChildItem(Launcher.LIFECYCLE_ACTION, Launcher.SHOW_HELP_ACTION);        } else {            setChildItem(Launcher.SYSTEM_CONFIGURATION_LOCATION, getArgument(Launcher.SYSTEM_CONFIGURATION_LOCATION_ARGUMENT, (String) getDefaultSystemConfigurationLocationCategory()));            setChildItem(Launcher.SCREEN, createChildItem((String) getDefaultScreenCategory()));            setChildItem(Launcher.LIFECYCLE_ACTION, getArgument(Launcher.LIFECYCLE_ACTION_ARGUMENT, (String) getDefaultLifecycleActionCategory()));            //?? Temporary until event handling doesn't need java awt EventQueue anymore.            setJavaEventCatcher(createJavaEventCatcher());            setChildItem(Launcher.SHUTDOWN_HOOK, createShutdownHook());            setChildItem(Launcher.SHUTDOWN_FLAG, (Boolean) getDefaultShutdownFlagCategory());        }    }