Re: FileChooser & external components

Gerald Bauer <[email protected]> Wed, 5 Jan 2005 10:55:47 -0800 (PST)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Hello Sara Pavan,

> I'm new with Luxor and I'd like to know if Luxor
> covers entirely the 
> swing component.
> For example I have a swing Gui which uses classes
> like FileChooser and 
> FileFilter.
> How can I insert these kinds of classes with Luxor?

  You can either use the componentref/gadget tag in a
XulForm or you can create your own Luxor XUL tag
plugin. See http://petra.sourceforge.net/tutorial.html
for details on how to create your own tags. It's not
rocket science. 

> And also: within my project I should use an external
> component such as 
> JCalendar, but
> I can't find the component which I have to put it
> in.
> Can I select all the components from a xul file? And
> if yes, how can I 
> do this? I think I'm
> not understanding something, since for my purposes
> the lookUp functions 
> are not enough.
> Or should I write more small xul files, in which I
> can find components 
> more easily?

  Again if you want to use an external component it's
best to create a plugin and than contribute it back to
the Luxor community. 

  If you want to store all components from a XUL file
in a single map/hash table you likely have to extend
Luxor.

  - Gerald


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt