| View previous topic :: View next topic |
| Author |
Message |
bdonauba General User

Joined: 29 Dec 2004 Posts: 6
|
Posted: Tue Feb 21, 2006 4:58 am Post subject: OO 2 .0 behaves different than OO 1.5 |
|
|
Hello!
I have a small Java application that uses OO 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.
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);
but this ended OO instead of making it invisible and my next API call gets this exception:
Exception in thread "AWT-EventQueue-0" com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@ff8c74 is disposed
What can I do?
Regards,
Bernhard Donaubauer |
|
| Back to top |
|
 |
pitonyak Administrator


Joined: 09 Mar 2004 Posts: 3618 Location: Columbus, Ohio, USA
|
|
| Back to top |
|
 |
manutudescends General User

Joined: 21 Nov 2005 Posts: 25 Location: Toulouse, France
|
Posted: Tue Mar 07, 2006 2:43 am Post subject: |
|
|
I have the same problem.
post solution if you find it  |
|
| Back to top |
|
 |
|