Hi again, assuming several documents re opened. To prevent the user close *all* documents at once i can disable the exit menu item. So the user must use the close menu item to close the docs one after the other. After closing the last document an empty application window remains - what i want to avoid. To close this window with the last close operation, i used a variable which counts the closed docs (by means of a windowListener). If there is only one doc left, i've tried out to execute xDesktop.terminate(), but this yields in a app.crash ... seems to be the wrong way. Is there any other possibility to close the application window, something like XClosable for xComponent? The application must not necessarily terminate, it would be enough, if the window becomes invisible.
Regards, Reinhold --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
