Hi Fabian,

> I tried this but StarDesktop seems to be a StarBASIC-only-variable but I use 
> the Java-Interface. The corresponding Java-class "XDesktop" does not have the 
> mehtod loadComponentFromURL()

You need to create an instance of the com.sun.star.frame.Desktop
service, and query it for XComponentLoader.

This service is a singleton, means all creation request return the same
instance. StarDesktop, in Basic, is simply a shortcut to this single
instance.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to