I get this error when I try to terminate it :(

com.sun.star.lang.DisposedException: java_remote_bridge
[EMAIL PROTECTED] is
disposed

Joan

-----Mensaje original-----
De: Tobias Krais [mailto:[EMAIL PROTECTED]
Enviado el: martes, 28 de noviembre de 2006 14:19
Para: [email protected]
Asunto: Re: [api-dev] soffice.bin still alive after closing the applet

Hi Joan,

> I managed to put openoffice.org into an applet, but sometimes when I
> close the applet there's this soffice.bin process still alive. Is it
> normal? Is there a way to clear the memory, kill it, etc. through the
> api?

If you want to close OOo completely, you should terminate it:

-----%<-----
public void terminate(XDesktop xDesktop) {
        // Close whole OpenOffice
        if(xDesktop != null)
        {
            xDesktop.terminate();
        }
}
-----%<-----

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail may contain confidential or privileged information. Any unauthorised
copying, use or distribution of this information is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to