Bernhard Donaubauer wrote: > I have a small Java application that uses OO (started with parameter > -invisible) to open or print OO - Files without user interaction. The user > normally edits the opened document and closes it after he/she finished > his/her work. Here is my problem! In OO1 the application disappeared after > the user closed (menu file/close) the last document. In OO2 the application > stays visible.
OOo1.0(!).x indeed had a different behavior concering "File-Close", in this case the last window stayed open (this was a user request), but OOo1.1.x behaves exactly like OOo2.0 in this regard. As you are talking about OOo1.5 (whatever this is, I guess it's 1.1.5) your problem must be something else. So please describe exactly(!) *how* the document is closed and what exactly you mean with "visible" and of course the exact version number of the old OOo version you are talking about. > Can I make OO2 to behave like OO1? Can I make OO invisible by API calls? > I tried to cast my desktop object to XFrame and called > > ooDesktop.getXFrame().getComponentWindow().setVisible(false); Really bad idea. You should desribe your goals in understandable terms and I'm sure we will find a solution. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
