logo       

[xwt-users] help with XWT: msg#00051

java.xwt.users

Subject: [xwt-users] help with XWT

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise