Re: [xwt-users] help with XWT

Jeff Buhrt <[email protected]> Mon, 19 Jan 2004 11:26:42 -0500
Newsgroups gmane.comp.java.xwt.users
Message-ID <[email protected]>
Brian,

1) Remember Lithium (the current 'stable' release) and the widgets have 
a few problems.
2) For RedHat9.0 the xwt.linux.gz dated 5/14/2003 from 
http://dist.xwt.org seems mostly fine. For Windows xwt-0281.exe seems 
the most stable using the sampler-0.5pre3 widgets.
3) If you don't have a main.xwt like the other samples, etc. you need to 
apply a template theme for the widgets to work right.
so:
<xwt>
<static>
   xwt.theme( "xwt.theme", "org.xwt.theme.monopoly" );
</static>
...

-Jeff

Jeff Buhrt

B. Wehrle wrote:

> Hello,
>
> I am just getting started with XWT and having some trouble.
>
> First off, I am trying to run the samplers of the various widget sets.
> I can't say that I've had much luck.
> After downloading the xwt binary I run
> ./xwt-xyz sampler-0.5preX.xwar
>
> Can someone tell me the correct current combination between the xwt 
> binary and the widget to write XWT apps and use the widget library ? 
> I have been trying to write my own little XWT app.  After downloading 
> a sampler widget xwar and unpacking it in a special directory, I wrote 
> my own little simple xwt demo:
> <xwt>
> <import name="xwt.widget" />
>        <template thisbox="frame" width="220" height="260" color="white">
>        <box orient="vertical" width="200" height="250" >
>               <group id="radios" text="Radio Buttons">
>               <radio id="r1" label="X1" value="Option 1" />
>               <radio id="r2" label="X3" value="Option 2" />
>               <radio id="r3" label="X2" value="Option 3" />
>               </group>
>               <group id="buttons">
>               <button id="b1" text="test button 1" counter="0" 
> label="Button One" />
>               <button id="b2" text="test button 2" counter="0" 
> label="Button Two" />                           <button id="b3" 
> text="test button 3" counter="0" label="Button Three" />
>               </group>
>
>        </box>
>        </template>
> </xwt>
>
> However, I never actually see the buttons!  This may have something to 
> do with the incompatability between the widget sets and the xwt binaries.
>
> Thanks for your help!
> Brian
>
>
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwt.org/listinfo/users
>