Hi, just to conclude the topic: Am Montag, den 14.01.2008, 21:04 +0100 schrieb Dietmar Hiller: > Hi Ariel, > > Am Montag, den 14.01.2008, 02:50 -0300 schrieb Ariel Constenla-Haile: > > Hi Dietmar, ... > > Dietmar Hiller escribió: ... > > > While trying to implement the Dialog, I keep getting the > > > following error: > > > > > > com.sun.star.lang.IllegalArgumentException: > > > DialogProviderImpl::getDialogModel: failed to parse URI: > > ... > > > > > are you sure the URL is correct? Try XSimpleFileAccess.exists() to see > > if the file really exists before you try to create the dialog from this > > URL (as you are passing an URL, not a vnd.sun.star.script:*). > > > > I can not imagine other thing. > > Thanks to XSimpleFileAccess.exists() I am now sure, that the URL is > correct (it returned true). > ...
So finally it turned out to be caused by the fact, that I have been using SDK 2.3 and OOo 2.2. After upgrading to OOo 2.3.1 the dialog pops up. Well, in the meantime I had a try with jColorChooser (since this is what the dialog is supposed to do), but since I am not able to get it running with gij (OpenSource Java used by Ubuntu), I will try to continue making a color selection dialog with the OOo API myself. -- Dietmar --- Fatti non fummo per viver come bruti, ma per seguir virtute e conoscenza (Dante) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]