Item lifecycleAction = getChildItem(Launcher.LIFECYCLE_ACTION); removeChildItem(Launcher.LIFECYCLE_ACTION); destroyChildItem((String) lifecycleAction);
Item lifecycleAction = getChild(Launcher.LIFECYCLE_ACTION); removeChild(Launcher.LIFECYCLE_ACTION); destroyChild((String) lifecycleAction);
    public void finalizz() throws Exception {        removeChildItem(Launcher.SHUTDOWN_FLAG);        // Remove shutdown hook first to avoid another shutdown call        // from the java virtual machine to this system.        Item shutdownHook = getChildItem(Launcher.SHUTDOWN_HOOK);        removeChildItem(Launcher.SHUTDOWN_HOOK);        destroyChildItem((ShutdownHook) shutdownHook);        //?? Temporary until event handling doesn't need java awt EventQueue anymore.        destroyJavaEventCatcher(getJavaEventCatcher());        setJavaEventCatcher(null);        Item lifecycleAction = getChildItem(Launcher.LIFECYCLE_ACTION);        removeChildItem(Launcher.LIFECYCLE_ACTION);        destroyChildItem((String) lifecycleAction);        Item screen = getChildItem(Launcher.SCREEN);        removeChildItem(Launcher.SCREEN);        destroyChildItem((Screen) screen);        Item systemConfigurationLocation = getChildItem(Launcher.SYSTEM_CONFIGURATION_LOCATION);        removeChildItem(Launcher.SYSTEM_CONFIGURATION_LOCATION);        destroyChildItem((String) systemConfigurationLocation);        super.finalizz();    }