Re: Benefits of XUL with custom components

Blake Williams <[email protected]>
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Mozilla xul uses xbl to create or extend components. This allows new 
tags to be defined and added dynamically without a change to the layout 
engine. The new tags are "attached" to a document through a stylesheet 
so the layout engine knows where to find the component definition. I 
understand there is a difference between mozilla xul and a java 
implementation as far as how the layout is done, but if the idea is to 
have a java implementation of xul, then it should stick to the standard 
as much as possible. My $.02.

Blake



On Monday, June 2, 2003, at 06:19 PM, Gerald Bauer wrote:

> Hi,
>
>> It seems like in my Application GUI work through
>> the years, custom/tweaked Java components always are
>> required.
>
>   I agree. Letting you plug-in your own widgets and
> use your own XUL tags is essential. Please, check out
> the petra download package, for plug-in examples.
>
>   I'm currently also working on making it easier to
> plug-in widgets. For example, I have some experimental
> code that lets you plug-in applets without any Java
> code so you can use them like built-in XUL tags.
> Example:
>
> <applet code="demo.hello.HelloApplet.class"
> width="300" height="100" >
>   <param name="greeting" value="Salve Roma" >
> </applet>
>
> becomes
>
> <hello greeting="Salve Roma" style="width: 300;
> height: 100" />	
>
> And here's the config entry:
>
> <appletdef name="hello" class="demo.hello.HelloApplet"
> />
>
> I hope to get out the new package soon.
>
>   - Gerald
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> luxor-xul-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/luxor-xul-user
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.